Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rysweet add aspire defaults otel #3690

Closed
wants to merge 594 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
594 commits
Select commit Hold shift + click to select a range
61dec0a
Added token counting to TeamOne (#264)
afourney Jul 26, 2024
7e75dc8
Add core components for topics (#278)
jackgerrits Jul 26, 2024
cf2bcd3
Web surfer test (#248)
peterychang Jul 26, 2024
99b5355
Allow Executor to search for code in multimodal messages. (#285)
afourney Jul 26, 2024
6437374
Handle messages in a queue for team one base agent (#284)
jackgerrits Jul 26, 2024
47e1cf4
Update tool use examples to use inner agents rather than subclassing …
ekzhu Jul 26, 2024
5334397
Fix links in sample README (#287)
ekzhu Jul 26, 2024
070a97c
make code execution async (#219)
peterychang Jul 26, 2024
2bc0a33
Add LangGraph agent example (#290)
ekzhu Jul 27, 2024
ec65425
Introduces a BaseWorker agent, allowing for a TeamOneBaseAgent (#289)
afourney Jul 29, 2024
136af65
Code execute cancellation (#299)
peterychang Jul 30, 2024
19f5463
Fix chess example #298 (#301)
ekzhu Jul 30, 2024
7367b0a
Update .gitignore (#307)
AndreasVolkmann Aug 1, 2024
a238a0b
Add name validation for OAI error prevention (#310)
zubeirom Aug 1, 2024
622b4e3
Update Python README.md (#306)
AndreasVolkmann Aug 1, 2024
d8bf7ee
Add code analysis (#305)
AndreasVolkmann Aug 2, 2024
1f9d517
Instantiation context refactor (#293)
jackgerrits Aug 2, 2024
1c95443
Add Azure Active Directory auth for Python samples (#315)
ekzhu Aug 2, 2024
37be630
Add ID to subscription (#317)
jackgerrits Aug 3, 2024
efa8778
Validate agent description, DRY metadata (#321)
AndreasVolkmann Aug 5, 2024
70d3c92
Add support for compiling Jupyter Notebooks into documentation pages …
ekzhu Aug 5, 2024
5ff275f
Handle errors in the TeamOne agent's message queue handler. (#324)
afourney Aug 5, 2024
5c7bb29
use myst_nb for notebook docs; create getting started tutorial (#326)
ekzhu Aug 6, 2024
027791c
Update _model_info.py (#328)
AndreasVolkmann Aug 6, 2024
8b13d59
Initial work porting WebArena to async (#325)
afourney Aug 6, 2024
1531a44
Doc: multi-agent design pattern (#329)
ekzhu Aug 7, 2024
ecde17a
Re-added multimodality to mdconvert. (#330)
afourney Aug 7, 2024
9f0bdb1
Use mystnb for notebook rendering (#332)
jackgerrits Aug 7, 2024
437dbef
Rename fields in agent id (#334)
jackgerrits Aug 7, 2024
39489ba
Rename fields in agent metadata (#336)
jackgerrits Aug 7, 2024
c7f5931
Reverts TeamOne prompts to those used in Autogen experiments. (#331)
afourney Aug 7, 2024
33649c3
Notebook checks (#333)
jackgerrits Aug 7, 2024
91e55d8
check ledger formatting (#327)
ZHANG-EH Aug 8, 2024
4da0573
Add cookbook for openai assistant agent. Reformat (#343)
ekzhu Aug 8, 2024
a1221d4
remove Dapr sample/implementation (#345)
kostapetan Aug 8, 2024
365d21b
Fixed numerous issues with orchestrator, related to 342 (#344)
afourney Aug 8, 2024
2e7d984
Updated agbench to find agnext via environment variable to facilitate…
afourney Aug 8, 2024
7b99b84
Moved the benchmarks to another repo. (#349)
afourney Aug 8, 2024
30631c7
Add pandas a dependency (#353)
gagb Aug 9, 2024
698a8f3
Catch json decode error in file surfer (#352)
gagb Aug 9, 2024
bc26ec3
Azure container code execution (#346)
peterychang Aug 14, 2024
853b00b
Add message context to message handler (#367)
jackgerrits Aug 17, 2024
eb4a5b7
update readme and add `CHANGELOG.md` (#368)
ekzhu Aug 17, 2024
5eca0db
Python host and worker runtime for distributed agents. (#369)
ekzhu Aug 19, 2024
6dbd2d1
Add proto files (#378)
ekzhu Aug 19, 2024
ba063e7
disable youtube test until it can be debugged (#380)
peterychang Aug 20, 2024
4ba7e84
Upload/Download operations for azure code container (#377)
peterychang Aug 20, 2024
e1a823f
Initial impl of topics and subscriptions (#350)
jackgerrits Aug 20, 2024
29088d6
Register returns AgentType (#382)
jackgerrits Aug 20, 2024
63000e5
Implement AgentRuntime.get (#385)
jackgerrits Aug 21, 2024
09ceef4
enable dotnet build in PR check and Add namespace back in .proto (#384)
LittleLittleCloud Aug 21, 2024
ed08905
Make RunContext internal (#386)
ekzhu Aug 21, 2024
494b805
Refactor subscription in single threaded agent runtime (#388)
ekzhu Aug 22, 2024
519c981
move .proto generator to Microsoft.AI.Agents (#391)
LittleLittleCloud Aug 22, 2024
dc847d3
Implement RPC and Subscription-based broadcast for python host and wo…
ekzhu Aug 22, 2024
30d1b50
Add subscription factory to `AgentRuntime.register` (#393)
jackgerrits Aug 22, 2024
7a919b1
Update the chat history of orchestrator (#379)
ZHANG-EH Aug 22, 2024
8f082ce
Initial design proposal for message routing (#245)
jackgerrits Aug 23, 2024
4c964fa
Implement default sub and topic (#398)
jackgerrits Aug 23, 2024
d7ae203
Rename TypeRoutedAgent to RoutedAgent; log on unhandled message. (#400)
ekzhu Aug 23, 2024
dbb35fc
Migrate to using default sub/topic (#403)
jackgerrits Aug 26, 2024
c779d41
Support for Logprobs in chatcompletion (#401)
husseinmozannar Aug 26, 2024
c8084ad
Add quick start and utils for extracting code blocks (#404)
ekzhu Aug 27, 2024
62e5e5b
Decrement the count of outstanding tasks before returning in the even…
ZHANG-EH Aug 27, 2024
4eadecf
Fix lint issue in agbench (#409)
jackgerrits Aug 27, 2024
c8f6f3b
Fix TeamOne examples with subscriptions to topics (#407)
husseinmozannar Aug 27, 2024
12cf331
Add tool_agent_caller_loop and group chat notebook. (#405)
ekzhu Aug 27, 2024
bb55e7a
Remove namespace check (#411)
jackgerrits Aug 27, 2024
a8343c7
Specify that text files are utf-8 in mdconvert (#412)
afourney Aug 27, 2024
87c00a5
Core concept doc refactor and add documentation for topic and subscri…
ekzhu Aug 28, 2024
3d515a7
Rename `agnext.core` module to `agnext.base` (#416)
jackgerrits Aug 28, 2024
725f13c
Rename `agnext` package to `autogen_core` (#418)
jackgerrits Aug 28, 2024
5e8840d
Python: organize packages in package directory (#420)
jackgerrits Aug 28, 2024
6ef4a9a
Remove files and fix website deployment (#421)
jackgerrits Aug 28, 2024
4ff5610
Migrate to uv and poe for workspace management and task running (#424)
jackgerrits Aug 29, 2024
6700359
Add cookiecutter template for new package (#426)
jackgerrits Aug 29, 2024
90dfcaf
Update version and description of core (#427)
jackgerrits Aug 29, 2024
4f9626c
Add cookiecutter (#428)
jackgerrits Aug 29, 2024
581cda0
Pin grpc and gen task (#429)
jackgerrits Aug 29, 2024
4faa598
fix version (#430)
jackgerrits Aug 29, 2024
d2c8b7a
Update README.md (#432)
jackgerrits Aug 29, 2024
243c095
Updated the root path discovery in agbench to reflect latest folder s…
afourney Aug 29, 2024
fa826ab
Add lock file and update readme (#434)
heyitsaamir Aug 30, 2024
0f9254b
Update installation instructions based on directory moves (#436)
jackgerrits Aug 30, 2024
a51b793
Update aspire version (#437)
jackgerrits Aug 30, 2024
479d5fa
Fix documentation bug (#438)
ekzhu Aug 30, 2024
ba64f44
Remove static subscription restriction (#439)
jackgerrits Aug 30, 2024
c72e248
Fix pytest asycio warning (#440)
jackgerrits Aug 30, 2024
042958e
Allow multiple intervention handlers to be supplied to the runtime (#…
heyitsaamir Aug 30, 2024
dacd290
Add a generic `stop_when` to runtime (#431)
heyitsaamir Aug 30, 2024
df44d26
Fix docs edit link and ref links (#448)
jackgerrits Sep 5, 2024
f941fe1
Add gen proto uncommitted changes check (#451)
jackgerrits Sep 5, 2024
8504ea0
Support datacontenttype and lay groundwork for unknown payloads (#444)
jackgerrits Sep 5, 2024
df362c5
Downgrade protobuf from v5 to v4 (#453)
heyitsaamir Sep 6, 2024
3be2059
Add some FAQs to the website (#456)
jackgerrits Sep 6, 2024
1135515
Require lockfile to be up to date in CI (#457)
jackgerrits Sep 9, 2024
36f796b
Update README.md (#458)
rysweet Sep 9, 2024
66e0e8e
Add slow human in loop sample (#423)
heyitsaamir Sep 9, 2024
05ff2d3
Rename codec to serializer (#462)
jackgerrits Sep 9, 2024
5f86ce1
Update task to be something that can be done in a container standalon…
jackgerrits Sep 10, 2024
2345557
add router to message handler Routing Predicates for message_handler …
ekzhu Sep 11, 2024
82bb342
Fix a broken link (#471)
heyams Sep 11, 2024
976a7d4
create model context component, remove chat memory component, refacto…
ekzhu Sep 11, 2024
81463c0
Rysweet contibruting.md (#460)
rysweet Sep 11, 2024
385b63b
Fixed AZURE_OPENAI_API_ENDPOINT name. Added needed packages. (#467)
raimondasl Sep 11, 2024
5dce10d
move contrinbuting.md symlink (#475)
rysweet Sep 11, 2024
461b8a8
Add basic OTEL tracing for SingleThreadedAgentRuntime and WorkerAgent…
heyitsaamir Sep 11, 2024
cb9ae44
Add documentation to RoutedAgent and message_hander, remove outdated …
ekzhu Sep 12, 2024
06554c5
Update termination handler docs to keep it up-to-date (#486)
ekzhu Sep 12, 2024
76067a6
Use notebook for extract result cookbook, use updated API. (#487)
ekzhu Sep 12, 2024
ae10608
Add missing link to telemetry page (#488)
ekzhu Sep 12, 2024
3ab51d3
Port docker code executor, make async, make code executor restart asy…
jackgerrits Sep 12, 2024
1ba7a68
Fix bug in process event in worker runtime (#492)
ekzhu Sep 13, 2024
e25bd2c
Add messaging attributes to telemetry spans (#490)
heyitsaamir Sep 13, 2024
306541e
Fixup ruff config and inclusions (#495)
jackgerrits Sep 13, 2024
a815935
Add agentchat lib boilerplate (#493)
jackgerrits Sep 13, 2024
0376a0b
Change examples and docs to use docker executor by default (#494)
jackgerrits Sep 13, 2024
a6c1b50
Distributed agent runtime API for host and worker; unit tests; docume…
ekzhu Sep 13, 2024
4efeb64
Update quickstart to reference docker requirement (#497)
jackgerrits Sep 13, 2024
1247e0b
Documentation for command line code executors (#505)
ekzhu Sep 16, 2024
747054a
fixup solution
jackgerrits Sep 16, 2024
561897b
Disallow unions in dataclass messages, move check to creation instead…
jackgerrits Sep 16, 2024
aecb437
Implementation for `@rpc` and `@event` decorators (#504)
ekzhu Sep 16, 2024
2e524e1
initial rework of readme (#515)
rysweet Sep 16, 2024
3182204
Improve readme (#519)
gagb Sep 17, 2024
0072ea5
Update runtime architecture documentation (#521)
ekzhu Sep 17, 2024
b2f1b83
Update documentation on topic and subscription with illustrations (#523)
ekzhu Sep 17, 2024
2d82618
make python dev setup in codespaces (#526)
rysweet Sep 17, 2024
da759b6
Dotnet - core framework rework (rebased) (#511)
jackgerrits Sep 17, 2024
fc4494a
Readme updates for #520 and #525 (#527)
rysweet Sep 17, 2024
2dcb1f4
add faqs link (#528)
rysweet Sep 17, 2024
effde90
Transition to Pydata Sphinx Theme (#482)
victordibia Sep 17, 2024
bc8529d
remove OAgents lib from sln (#529)
kostapetan Sep 17, 2024
3222632
Update .net code to use CloudEvent, add Event back to proto definitio…
kostapetan Sep 17, 2024
13639ab
Update packages page (#533)
jackgerrits Sep 17, 2024
c1d4f70
Fix figure in subscription doc (#534)
ekzhu Sep 17, 2024
c6d40ce
Scale api reference to multiple packages (#538)
jackgerrits Sep 17, 2024
0da2540
add subscription to agents (#544)
MohMaz Sep 17, 2024
3568ab6
added litellm+ollama cookbook (#509)
frodoattempts Sep 17, 2024
163a192
Update readme to make it ready for OSS release (#540)
ekzhu Sep 18, 2024
53aabb8
Update agent-and-multi-agent-application.md (#546)
gagb Sep 18, 2024
c60a60e
Add OAI image token count logic (#518)
lspinheiro Sep 18, 2024
a800263
Add scaffolding for autogen-ext (#541)
ekzhu Sep 18, 2024
413b221
move cookbook into correct dir (#547)
jackgerrits Sep 18, 2024
79c30c1
Fix pypi header icon, remove extra icon (#550)
jackgerrits Sep 18, 2024
6893233
fix docker samples, improve error message (#548)
jackgerrits Sep 18, 2024
e881afd
Remove hatch from devcontainer (#551)
jackgerrits Sep 18, 2024
f3bb058
Add agentchat to ci (#552)
jackgerrits Sep 18, 2024
4998ab5
Fix issues in python core samples (#549)
aarongae Sep 18, 2024
a479a5e
Update _worker_runtime_host_servicer.py (#557)
tarockey Sep 18, 2024
093e261
Initial impl of new register and subscriptions (#542)
jackgerrits Sep 18, 2024
7d7fc8a
.NET cleanup and refactor (#558)
rysweet Sep 18, 2024
6bf6226
fix config for pyright for most (#561)
jackgerrits Sep 18, 2024
5c87424
Add transparency faqs (#566)
ekzhu Sep 18, 2024
7b989c3
Switch starting page of example to bing.com (#568)
afourney Sep 18, 2024
f5a1362
Add description of each example for team one (#569)
ekzhu Sep 19, 2024
1edf5cf
working on scaffolding a new dotnet intro sample for #531 (#536)
rysweet Sep 19, 2024
fd021db
Fix bug in register_factory for worker runtime (#563)
ekzhu Sep 19, 2024
b8dc9fc
Fix subscription decorator sharing class instances among children (#571)
jackgerrits Sep 19, 2024
d624367
Fix docs ci poe task (#572)
jackgerrits Sep 19, 2024
8018677
Add response for registering agent type and adding subscriptions in d…
ekzhu Sep 19, 2024
19f83de
Migrate team one to new subscriptions (#560)
jackgerrits Sep 19, 2024
7f25d28
Update architecture.md (#588)
gagb Sep 19, 2024
d6dce9e
allow class associated subscriptions to be skipped on register (#587)
jackgerrits Sep 19, 2024
2073305
Update TRANSPARENCY_FAQS.md (#590)
msftbozo Sep 19, 2024
46ca778
format (#593)
ekzhu Sep 19, 2024
e818a61
Add confirmation for messages produced by Coder (#591)
jackgerrits Sep 19, 2024
741ccd7
Change team one confirmation to be on executor (#595)
jackgerrits Sep 19, 2024
c7a3cf0
Update application-stack.md (#597)
gagb Sep 19, 2024
6d3a884
Merge getting started into guides; update references; add figure for …
ekzhu Sep 20, 2024
5f96168
Improve type subscription core concept with scenarios (#602)
ekzhu Sep 20, 2024
9009c2a
add test for skip_class_subscriptions (#604)
jackgerrits Sep 20, 2024
d60536c
[wip] [dotnet] adding IOAgents (#598)
rysweet Sep 20, 2024
ab6ba80
Update pyright extends for core (#562)
jackgerrits Sep 20, 2024
8ea0931
Migrate docs to use BaseAgent.register (#605)
ekzhu Sep 20, 2024
93e7127
Change references from agenext to autogen (#610)
jackgerrits Sep 23, 2024
58ee8b7
Overhaul landing page, change top links (#611)
jackgerrits Sep 23, 2024
1ac5272
add subscription deduplication (#594)
MohMaz Sep 23, 2024
52b06ca
Update sub title (#612)
jackgerrits Sep 23, 2024
3cba258
Fix home titleg (#613)
jackgerrits Sep 23, 2024
a72ebae
Rysweet 531 dotnet create hello agent continued (#606)
rysweet Sep 23, 2024
0172c71
Instrumentation cookbook (#583)
heyitsaamir Sep 23, 2024
dc02719
Check for prints (#616)
jackgerrits Sep 23, 2024
bbd8ead
Update TRANSPARENCY_FAQS.md (#618)
jackgerrits Sep 23, 2024
19de8a8
remove .vs folder (#621)
LittleLittleCloud Sep 24, 2024
dca82b3
Rysweet dotnet refactor (#624)
rysweet Sep 24, 2024
7fc5ad9
Update installation instructions and banner for release (#625)
jackgerrits Sep 24, 2024
6dcbf86
Fix future cancellation and outstanding_tasks bugs (#619)
ZHANG-EH Sep 24, 2024
afdfb4e
TeamOne cancellation token support and making logger a member variabl…
ZHANG-EH Sep 24, 2024
09501a0
Add Broadcasting cookbook (#600)
lspinheiro Sep 25, 2024
6c14c78
Remove samples that have duplicates in documentation (#631)
ekzhu Sep 25, 2024
a0ed11f
Add advanced mixture of agents guide; replacing the sample script (#634)
ekzhu Sep 25, 2024
74a55c3
Add multi-agent-debate pattern in documentation; remove from sample (…
ekzhu Sep 25, 2024
7ba9918
Initial implementation of agentchat (#623)
ekzhu Sep 25, 2024
90352f1
Remove .DS_Store from main folder (#648)
MohMaz Sep 26, 2024
0028991
Associate agent container and message types to group chat behavior pr…
ekzhu Sep 26, 2024
95078d1
Update conf.py (#650)
jackgerrits Sep 26, 2024
e0e99a1
Standardize Agent and Topic ID strings + documentation (#638)
peterychang Sep 26, 2024
d7190cb
Removes easyocr from mdconvert (#653)
afourney Sep 26, 2024
d7a5835
Add Azure code executor cookbook (#615)
peterychang Sep 27, 2024
4250c06
Skip websurfer test (#660)
ekzhu Sep 28, 2024
da246ef
Move tool use with intervention to cookbook; remove duplicated exampl…
ekzhu Sep 28, 2024
43c85d6
Update references (#657)
jackgerrits Sep 28, 2024
18efc23
Use agentchat message types rather than core's model client message t…
ekzhu Sep 28, 2024
0fa6805
Sequential processing for group chat participant using SequentialRout…
ekzhu Sep 28, 2024
00f6e51
fix line endings of test/browser_utils/test_files/test_serp.html
jackgerrits Sep 30, 2024
3a62798
Merge work in progress autogen 0.4 to main
jackgerrits Sep 30, 2024
2596648
move studio to a package
jackgerrits Sep 30, 2024
99d1ad3
update lockfile
jackgerrits Sep 30, 2024
b2db45d
Tool use in agentchat (#664)
ekzhu Sep 30, 2024
b9ac9e4
show diff in failed gen proto
jackgerrits Sep 30, 2024
47cc667
remove git attributes file
jackgerrits Sep 30, 2024
d11b421
attribute theme
jackgerrits Sep 30, 2024
d9ca172
set baseurl to dev for 0.4
jackgerrits Sep 30, 2024
c25df0d
update docs to include dev path
jackgerrits Sep 30, 2024
1dc91bd
Fix lfs
jackgerrits Sep 30, 2024
4ea1f7a
Add redirects for old website URLs
jackgerrits Sep 30, 2024
5cb5bda
Publish both 0.2 and dev websites
jackgerrits Sep 30, 2024
18d52f6
Merge dotnet conflict (#3)
LittleLittleCloud Sep 30, 2024
6cfa29b
Add langchain tool adapter in autogen-ext (#570)
lspinheiro Sep 30, 2024
af2b5fa
Update package versions
jackgerrits Sep 30, 2024
a5d267e
Update link to 0.2 docs
jackgerrits Oct 1, 2024
e7342d5
Update SUPPORT.md (#667)
ekzhu Sep 30, 2024
7fade2d
Return message history in agentchat (#661)
lspinheiro Oct 1, 2024
54c6382
fix dotnet distributed tracing (#4)
kostapetan Oct 1, 2024
361b0cd
switch to universal devcontainer image (#5)
kostapetan Oct 1, 2024
6019131
Update README to be ready for merging (#666)
ekzhu Oct 1, 2024
499b3fc
fix: Make cleanup code in docker CodeExecutor asyncio aware (#669)
lokitoth Oct 1, 2024
50ed097
Renamed TeamOne to MagenticOne (#6)
afourney Oct 1, 2024
a862ed2
Updates to README
jackgerrits Oct 1, 2024
5c7498c
Dotnet package cleanup and reconciliation of dirs
LittleLittleCloud Oct 2, 2024
1174fcd
Merge branch 'main' into staging
jackgerrits Oct 2, 2024
9ba14ee
Fix dotnet test and reformat dotnet code (#3603)
LittleLittleCloud Oct 2, 2024
b0b0825
add logging to agentchat
victordibia Oct 3, 2024
dfa4a0a
Update magentic-one readme with the latest numbers (a complete set of…
afourney Oct 3, 2024
32f05a8
Merge pull request #3611 from microsoft/update_magentic_results
gagb Oct 3, 2024
13c1351
make logging independent module
victordibia Oct 3, 2024
d4078a7
move logging module to root of agent_chat
victordibia Oct 3, 2024
fdb8f8a
Merge pull request #3606 from microsoft/agentchat_logging_vd
ekzhu Oct 4, 2024
25d006c
Add staging to workflow target; fix circular imports in autogen_agent…
ekzhu Oct 4, 2024
1f1463e
Add all redirect links (#3659)
jackgerrits Oct 4, 2024
88e1ee2
generate docs on push, deploy on main
jackgerrits Oct 4, 2024
7f2599a
Remove accidentally added files from 0.2 (#3661)
jackgerrits Oct 4, 2024
c63a034
try fix docs CI (#3660)
jackgerrits Oct 4, 2024
be5c0b5
fix: remove subscription on client disconnect in worker runtime (#3653)
MohMaz Oct 5, 2024
54eaa2b
Move tools to agent in `agentchat`; refactored logging to support too…
ekzhu Oct 7, 2024
e2c2f98
[.Net] Remove merging primitive from .editorconfig and gitignore (#3676)
LittleLittleCloud Oct 7, 2024
39aa073
Add poethepoet to dev deps (#3675)
jackgerrits Oct 7, 2024
e400567
Rysweet hello fix (#3683)
rysweet Oct 8, 2024
67aa5e3
add service defaults to Host
rysweet Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 0 additions & 6 deletions .coveragerc

This file was deleted.

36 changes: 5 additions & 31 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,32 +1,6 @@
#-------------------------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See LICENSE file in the project root for license information.
#-------------------------------------------------------------------------------------------------------------
# Note: You can use any Debian/Ubuntu based image you want.
FROM mcr.microsoft.com/devcontainers/universal:2

FROM mcr.microsoft.com/vscode/devcontainers/python:3.10

#
# Update the OS and maybe install packages
#
ENV DEBIAN_FRONTEND=noninteractive

# add git lhs to apt
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash

RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get -y install --no-install-recommends build-essential npm git-lfs \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
&& wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.5.23/quarto-1.5.23-linux-${arch}.deb \
&& dpkg -i quarto-1.5.23-linux-${arch}.deb \
&& rm -rf /var/lib/apt/lists/* quarto-1.5.23-linux-${arch}.deb
ENV DEBIAN_FRONTEND=dialog

# For docs
RUN npm install --global yarn
RUN pip install --upgrade pip
RUN pip install pydoc-markdown
RUN pip install pyyaml
RUN pip install colored
# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
96 changes: 0 additions & 96 deletions .devcontainer/README.md

This file was deleted.

54 changes: 0 additions & 54 deletions .devcontainer/dev/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions .devcontainer/dev/devcontainer.json

This file was deleted.

65 changes: 44 additions & 21 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,45 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-outside-of-docker-compose
{
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-toolsai.jupyter",
"visualstudioexptteam.vscodeintellicode",
"GitHub.copilot"
],
"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash"
}
},
"terminal.integrated.defaultProfile.linux": "bash"
}
}
},
"dockerFile": "Dockerfile",
"updateContentCommand": "pip install -e . pre-commit && pre-commit install"
}
"name": "agnext devcontainer",
"dockerComposeFile": "docker-compose.yml",
"service": "devcontainer",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

// Use this environment variable if you need to bind mount your local source code into a new container.
"remoteEnv": {
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
},

"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": true,
"installDockerBuildx": true,
"version": "latest",
"dockerDashComposeVersion": "none"
},
"ghcr.io/elanhasson/devcontainer-features/dotnet-aspire-daily:1": {},
"ghcr.io/devcontainers/features/azure-cli:1": {},
"ghcr.io/azure/azure-dev/azd:0": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bash .devcontainer/startup.sh",

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "root",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"ms-python.debugpy",
"GitHub.copilot",
"ms-dotnettools.csdevkit",
"ms-dotnettools.vscodeintellicode-csharp",
"github.vscode-github-actions"
]
}
}
}
26 changes: 26 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: '3'

services:
devcontainer:
build:
context: .
dockerfile: Dockerfile

volumes:
# Forwards the local Docker socket to the container.
- /var/run/docker.sock:/var/run/docker-host.sock
# Update this to wherever you want VS Code to mount the folder of your project
- ../..:/workspaces:cached

# Overrides default command so things don't shut down after the process ends.
entrypoint: /usr/local/share/docker-init.sh
command: sleep infinity

# Uncomment the next four lines if you will use a ptrace-based debuggers like C++, Go, and Rust.
# cap_add:
# - SYS_PTRACE
# security_opt:
# - seccomp:unconfined

# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)
32 changes: 0 additions & 32 deletions .devcontainer/full/Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions .devcontainer/full/devcontainer.json

This file was deleted.

13 changes: 13 additions & 0 deletions .devcontainer/startup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# dotnet setup
dotnet workload update
dotnet dev-certs https --trust

# python setup
pushd python
pip install uv
uv sync
source .venv/bin/activate
echo "export PATH=$PATH" >> ~/.bashrc
popd
27 changes: 0 additions & 27 deletions .devcontainer/studio/Dockerfile

This file was deleted.

21 changes: 0 additions & 21 deletions .devcontainer/studio/devcontainer.json

This file was deleted.

Loading
Loading