@agentic-kit/cli 0.11.3 → 0.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { HarnessDirs, SkillsManifest } from '@agentic-kit/harness';
1
+ import { FetchLike, HarnessDirs, SkillsManifest } from '@agentic-kit/harness';
2
2
  import { ConfigStore } from 'appstash';
3
3
  export declare const DEFAULT_SKILLS_REPO = "constructive-io/constructive-skills";
4
4
  /**
@@ -25,6 +25,12 @@ export interface AgentCliConfig {
25
25
  manifest: SkillsManifest;
26
26
  skillsRepo: string;
27
27
  skillsPin: string;
28
+ /**
29
+ * HTTP the skills fetch uses, so a caller that must not reach the network —
30
+ * a test, an air-gapped host — decides that rather than discovering it as a
31
+ * hang against api.github.com.
32
+ */
33
+ skillsFetch?: FetchLike;
28
34
  }
29
35
  interface ManifestFile {
30
36
  repo?: string;
package/esm/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { HarnessDirs, SkillsManifest } from '@agentic-kit/harness';
1
+ import { FetchLike, HarnessDirs, SkillsManifest } from '@agentic-kit/harness';
2
2
  import { ConfigStore } from 'appstash';
3
3
  export declare const DEFAULT_SKILLS_REPO = "constructive-io/constructive-skills";
4
4
  /**
@@ -25,6 +25,12 @@ export interface AgentCliConfig {
25
25
  manifest: SkillsManifest;
26
26
  skillsRepo: string;
27
27
  skillsPin: string;
28
+ /**
29
+ * HTTP the skills fetch uses, so a caller that must not reach the network —
30
+ * a test, an air-gapped host — decides that rather than discovering it as a
31
+ * hang against api.github.com.
32
+ */
33
+ skillsFetch?: FetchLike;
28
34
  }
29
35
  interface ManifestFile {
30
36
  repo?: string;
package/esm/skills.js CHANGED
@@ -17,7 +17,8 @@ async function baseSource(config, log) {
17
17
  repo: config.skillsRepo,
18
18
  pin: config.skillsPin,
19
19
  skillsRoot: config.dirs.skillsRoot,
20
- token: process.env.GITHUB_TOKEN
20
+ token: process.env.GITHUB_TOKEN,
21
+ ...(config.skillsFetch ? { fetchImpl: config.skillsFetch } : {})
21
22
  });
22
23
  log(`skills base: ${config.skillsRepo}@${release.version}${release.fromCache ? ' (cached)' : ''}`);
23
24
  return new DirectorySkillSource(BASE_LAYER, release.skillsDir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentic-kit/cli",
3
- "version": "0.11.3",
3
+ "version": "0.11.5",
4
4
  "author": "Dan Lynch <pyramation@gmail.com>",
5
5
  "description": "agent — the pi coding agent with the Constructive harness baked in, purely a shell",
6
6
  "main": "index.js",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@agentic-kit/harness": "0.15.0",
36
- "@agentic-kit/pi": "0.18.1",
37
- "@constructive-io/sdk": "^1.14.2",
36
+ "@agentic-kit/pi": "0.19.1",
37
+ "@constructive-io/sdk": "^1.14.3",
38
38
  "@earendil-works/pi-coding-agent": "0.79.6",
39
39
  "appstash": "^0.8.0",
40
40
  "inquirerer": "^4.9.3"
@@ -45,5 +45,5 @@
45
45
  "pi",
46
46
  "harness"
47
47
  ],
48
- "gitHead": "d10fe91ede80a4c2dfe2c1c6dcf6fe7193784eba"
48
+ "gitHead": "224b9030a0314a070f3054bc551a986949993b5d"
49
49
  }
package/skills.js CHANGED
@@ -53,7 +53,8 @@ async function baseSource(config, log) {
53
53
  repo: config.skillsRepo,
54
54
  pin: config.skillsPin,
55
55
  skillsRoot: config.dirs.skillsRoot,
56
- token: process.env.GITHUB_TOKEN
56
+ token: process.env.GITHUB_TOKEN,
57
+ ...(config.skillsFetch ? { fetchImpl: config.skillsFetch } : {})
57
58
  });
58
59
  log(`skills base: ${config.skillsRepo}@${release.version}${release.fromCache ? ' (cached)' : ''}`);
59
60
  return new harness_1.DirectorySkillSource(config_1.BASE_LAYER, release.skillsDir);