@neottia/cli 0.9.0 → 0.9.1

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/dist/catalog.js CHANGED
@@ -6,16 +6,16 @@ export const RUNTIME_PACKAGE_CATALOG = Object.freeze({
6
6
  { logicalId: 'searchable', version: '0.2.8' },
7
7
  ]),
8
8
  pi: Object.freeze([
9
- { logicalId: 'memory', version: '0.1.1' },
10
- { logicalId: 'issues', version: '0.2.0' },
11
- { logicalId: 'design-docs', version: '0.2.0' },
12
- { logicalId: 'searchable', version: '0.2.0' },
9
+ { logicalId: 'memory', version: '0.2.5' },
10
+ { logicalId: 'issues', version: '0.2.4' },
11
+ { logicalId: 'design-docs', version: '0.2.4' },
12
+ { logicalId: 'searchable', version: '0.2.9' },
13
13
  ]),
14
14
  opencode: Object.freeze([
15
- { logicalId: 'memory', version: '0.1.1' },
16
- { logicalId: 'issues', version: '0.2.0' },
17
- { logicalId: 'design-docs', version: '0.2.0' },
18
- { logicalId: 'searchable', version: '0.2.0' },
15
+ { logicalId: 'memory', version: '0.2.4' },
16
+ { logicalId: 'issues', version: '0.2.4' },
17
+ { logicalId: 'design-docs', version: '0.2.3' },
18
+ { logicalId: 'searchable', version: '0.2.9' },
19
19
  ]),
20
20
  });
21
21
  export function catalogEntry(harnessId, logicalId) {
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=catalog.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.spec.d.ts","sourceRoot":"","sources":["../src/catalog.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { readFileSync } from 'node:fs';
2
+ import { describe, expect, it } from 'vitest';
3
+ import { catalogEntry } from './catalog.js';
4
+ const modules = ['memory', 'issues', 'design-docs', 'searchable'];
5
+ function adapterVersion(harness, module) {
6
+ const manifest = JSON.parse(readFileSync(new URL(`../../../extensions/${harness}-${module}/package.json`, import.meta.url), 'utf8'));
7
+ return manifest.version;
8
+ }
9
+ describe('native runtime package compatibility', () => {
10
+ for (const harness of ['pi', 'opencode']) {
11
+ it.each(modules)('selects the packaged %s adapter version for ' + harness, (module) => {
12
+ expect(catalogEntry(harness, module)?.version).toBe(adapterVersion(harness, module));
13
+ });
14
+ }
15
+ it('does not invent a version for an unsupported harness', () => {
16
+ expect(catalogEntry('unknown', 'issues')).toBeUndefined();
17
+ });
18
+ });
19
+ //# sourceMappingURL=catalog.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.spec.js","sourceRoot":"","sources":["../src/catalog.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,OAAO,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,CAAU,CAAC;AAG3E,SAAS,cAAc,CAAC,OAAe,EAAE,MAAc;IACrD,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CACzB,YAAY,CAAC,IAAI,GAAG,CAAC,uBAAuB,OAAO,IAAI,MAAM,eAAe,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CACjF,CAAC;IACzB,OAAO,QAAQ,CAAC,OAAO,CAAC;AAC1B,CAAC;AAED,QAAQ,CAAC,sCAAsC,EAAE,GAAG,EAAE;IACpD,KAAK,MAAM,OAAO,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,EAAE,CAAC;QACzC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,8CAA8C,GAAG,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE;YACpF,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;QACvF,CAAC,CAAC,CAAC;IACL,CAAC;IAED,EAAE,CAAC,sDAAsD,EAAE,GAAG,EAAE;QAC9D,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,aAAa,EAAE,CAAC;IAC5D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neottia/cli",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Command-line planner, installer, updater, uninstaller, and doctor for Neottia assets",
5
5
  "author": "Dragos Cirjan",
6
6
  "license": "MIT",
@@ -39,18 +39,18 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@neottia/claude-code-adapter": "^0.3.0",
42
- "@neottia/config-registry": "^0.4.1",
43
42
  "@neottia/config": "^0.2.0",
44
- "@neottia/harness-adapter": "^0.3.0",
45
- "@neottia/distribution": "^0.2.1",
46
- "@neottia/issues": "^0.2.1",
47
43
  "@neottia/design-docs": "^0.2.1",
44
+ "@neottia/config-registry": "^0.4.2",
45
+ "@neottia/distribution": "^0.2.1",
46
+ "@neottia/harness-adapter": "^0.3.0",
48
47
  "@neottia/opencode-adapter": "^0.2.1",
48
+ "@neottia/issues": "^0.2.1",
49
49
  "@neottia/pi-adapter": "^0.2.1",
50
50
  "@neottia/memory-core": "^0.3.2",
51
51
  "@neottia/repository-store": "^0.3.4",
52
- "@neottia/searchable-core": "^0.2.6",
53
- "@neottia/sdlc": "^0.6.0"
52
+ "@neottia/sdlc": "^0.6.0",
53
+ "@neottia/searchable-core": "^0.2.6"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@templ-project/tsconfig": "^0.4.2",