Skip to content

Commit cb3a7cc

Browse files
authored
chore: don't use submodule (#45)
* chore: remove submodule agntcy/dir * chore: add dir/e2e/testdata using read-tree * chore: use v0.2.0 agntcy/dir * ci: remove submodule checkout * docs: add agntcy/dir testdata update Signed-off-by: Peter Balogh <p.balogh.sa@gmail.com>
1 parent 1c39b9e commit cb3a7cc

File tree

10 files changed

+466
-6
lines changed

10 files changed

+466
-6
lines changed

.github/workflows/test-integrations.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ jobs:
9191
uses: actions/checkout@v4
9292
with:
9393
fetch-depth: 0
94-
submodules: 'true'
9594

9695
- name: Login to GitHub Container Registry
9796
uses: docker/login-action@v3

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "integrations/agntcy-dir/examples/dir"]
2-
path = integrations/agntcy-dir/examples/dir
3-
url = https://github.com/agntcy/dir

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
- [How to extend tests with your own test](#how-to-extend-tests-with-your-own-test)
1010
- [Samples](#samples)
1111
- [Running tests](#running-tests-1)
12-
- [Copyright Notice](#copyright-notice)
12+
- [Updating the `agntcy/dir` testdata](#updating-the-agntcydir-testdata)
13+
- [Copyright Notice](#copyright-notice)
1314

1415
## Architecture
1516

@@ -244,6 +245,19 @@ cd samples/[app-name]
244245
task run:test
245246
```
246247

248+
## Updating the agntcy/dir testdata
249+
250+
If we want to update the `integrations/agntcy-dir/examples/dir/e2e/testdata` directory we will need to add `agntcy/dir` as a remote and create a patch for it by diffing with the `agntcy/dir` repo
251+
252+
```bash
253+
# add agntcy/dir as remote
254+
git remote add -f dir https://github.com/agntcy/dir.git
255+
# fetch dir
256+
git fetch dir
257+
# example of updating the integrations/agntcy-dir/examples/dir/e2e/testdata directory to the agntcy/dir main
258+
git diff --binary HEAD:integrations/agntcy-dir/examples/dir/e2e/testdata dir/main:e2e/testdata | git apply --directory=integrations/agntcy-dir/examples/dir/e2e/testdata
259+
```
260+
247261
## Copyright Notice
248262

249263
[Copyright Notice and License](./LICENSE.md)
Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"name": "directory.agntcy.org/cisco/marketing-strategy",
3+
"version": "v1.0.0",
4+
"authors": [
5+
"Cisco Systems"
6+
],
7+
"created_at": "2025-03-19T17:06:37Z",
8+
"annotations": {
9+
"key": "value"
10+
},
11+
"skills": [
12+
{
13+
"category_name": "Text Completion [10201]"
14+
},
15+
{
16+
"category_name": "Problem Solving [10702]"
17+
}
18+
],
19+
"locators": [
20+
{
21+
"type": "docker-image",
22+
"url": "https://ghcr.io/agntcy/marketing-strategy"
23+
}
24+
],
25+
"extensions": [
26+
{
27+
"name": "license",
28+
"version": "v1.0.0",
29+
"data": {
30+
"header": "Copyright (c) 2025 Cisco and/or its affiliates.",
31+
"license": "Apache-2.0"
32+
}
33+
},
34+
{
35+
"name": "oasf.agntcy.org/features/runtime/framework",
36+
"version": "v0.0.0",
37+
"data": {
38+
"name": "crewai",
39+
"version": "0.55.2"
40+
}
41+
},
42+
{
43+
"name": "oasf.agntcy.org/features/runtime/language",
44+
"version": "v0.0.0",
45+
"data": {
46+
"type": "python",
47+
"version": "\u003e=3.11,\u003c3.13"
48+
}
49+
}
50+
]
51+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"name": "directory.agntcy.org/cisco/marketing-strategy",
3+
"version": "v1.0.0",
4+
"authors": [
5+
"Cisco Systems"
6+
],
7+
"created_at": "2025-03-19T17:06:37Z",
8+
"annotations": {
9+
"key": "value"
10+
},
11+
"skills": [
12+
{
13+
"category_name": "Text Completion [10201]"
14+
},
15+
{
16+
"category_name": "Problem Solving [10702]"
17+
}
18+
],
19+
"locators": [
20+
{
21+
"type": "docker-image",
22+
"url": "https://ghcr.io/agntcy/marketing-strategy"
23+
}
24+
],
25+
"extensions": [
26+
{
27+
"name": "license",
28+
"version": "v1.0.0",
29+
"data": {
30+
"header": "Copyright (c) 2025 Cisco and/or its affiliates.",
31+
"license": "Apache-2.0"
32+
}
33+
},
34+
{
35+
"name": "oasf.agntcy.org/features/runtime/framework",
36+
"version": "v0.0.0",
37+
"data": {
38+
"name": "crewai",
39+
"version": "0.55.2"
40+
}
41+
},
42+
{
43+
"name": "oasf.agntcy.org/features/runtime/language",
44+
"version": "v0.0.0",
45+
"data": {
46+
"type": "python",
47+
"version": "\u003e=3.11,\u003c3.13"
48+
}
49+
}
50+
]
51+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
builder:
2+
# Base agent model path.
3+
# Path is either absolute or relative to this build config file.
4+
base-model: "agent.base.json"
5+
6+
# List of paths to ignore
7+
source-ignore:
8+
- ".venv/"
9+
10+
# Enable or disable the LLMAnalyzer plugin
11+
llmanalyzer: false
12+
13+
# Enable or disable the runtime plugin
14+
runtime: false
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
{
2+
"name": "research_crew",
3+
"version": "v0.1.18",
4+
"authors": [
5+
"Agntcy"
6+
],
7+
"annotations": {
8+
"name": "research-agent",
9+
"version": "v0.1.18",
10+
"type": "langgraph",
11+
"owner": "agntcy"
12+
},
13+
"created_at": "2025-03-25T12:33:14Z",
14+
"skills": [
15+
{
16+
"category_name": "Natural Language Understanding"
17+
},
18+
{
19+
"category_name": "Natural Language Generation"
20+
},
21+
{
22+
"category_name": "Information Retrieval and Synthesis"
23+
},
24+
{
25+
"category_name": "Fact Extraction"
26+
},
27+
{
28+
"category_name": "Knowledge Synthesis"
29+
}
30+
],
31+
"locators": [
32+
{
33+
"type": "source-code",
34+
"url": "https://github.com/agntcy/csit/tree/main/samples/crewai/simple_crew"
35+
}
36+
],
37+
"extensions": [
38+
{
39+
"name": "oasf.agntcy.org/features/runtime/framework",
40+
"version": "v0.0.0",
41+
"data": {
42+
"sbom": {
43+
"name": "simple_crew",
44+
"packages": [
45+
{
46+
"name": "crewai",
47+
"version": "0.108.0"
48+
}
49+
]
50+
}
51+
}
52+
},
53+
{
54+
"name": "oasf.agntcy.org/features/observability/logging",
55+
"version": "v1.0.0",
56+
"data": {
57+
"format": "\u003cstring\u003e",
58+
"type": "stdout"
59+
}
60+
},
61+
{
62+
"name": "oasf.agntcy.org/features/observability/metrics",
63+
"version": "v1.0.0",
64+
"data": {
65+
"task_duration": "task_duration",
66+
"token_usage": [
67+
"total_tokens",
68+
"prompt_tokens",
69+
"cached_prompt_tokens",
70+
"completion_tokens",
71+
"successful_requests"
72+
]
73+
}
74+
},
75+
{
76+
"name": "oasf.agntcy.org/features/framework/orchestration",
77+
"version": "v1.0.0",
78+
"data": {
79+
"type": "sequential"
80+
}
81+
},
82+
{
83+
"name": "oasf.agntcy.org/features/framework/memory",
84+
"version": "v1.0.0",
85+
"data": {
86+
"enabled": false
87+
}
88+
},
89+
{
90+
"name": "oasf.agntcy.org/features/runtime/language",
91+
"version": "v0.0.0",
92+
"data": {
93+
"type": "python",
94+
"version": "\u003c3.13,\u003e=3.10"
95+
}
96+
},
97+
{
98+
"name": "oasf.agntcy.org/features/runtime/io-mapper",
99+
"version": "v1.0.0",
100+
"data": {
101+
"input_name": "topic",
102+
"input_type": "string",
103+
"output_description": "A fully fledge reports with the mains topics, each with a full section of information. Formatted as markdown without '```'",
104+
"output_name": "report",
105+
"output_type": "file"
106+
}
107+
},
108+
{
109+
"name": "oasf.agntcy.org/features/framework/llm",
110+
"version": "v1.0.0",
111+
"data": {
112+
"base_url": "http://localhost:11434",
113+
"model": "ollama/llama3.1"
114+
}
115+
},
116+
{
117+
"name": "oasf.agntcy.org/features/framework/evaluation",
118+
"version": "v1.0.0",
119+
"data": {
120+
"provider": "local",
121+
"type": "evaluator agent"
122+
}
123+
}
124+
]
125+
}

0 commit comments

Comments
 (0)