dino-spec 12.3.1 → 12.4.0
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.
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
* - Handoffs for seamless context transfer
|
|
32
32
|
* - Auto-delegation suggestions in hooks
|
|
33
33
|
*/
|
|
34
|
-
/** Package version - read from package.json */
|
|
35
34
|
export declare const VERSION: string;
|
|
36
35
|
/**
|
|
37
36
|
* Template version - increment when template content changes significantly
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/core/config/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/core/config/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAyBH,eAAO,MAAM,OAAO,EAAE,MAAqB,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAAU,CAAC;AAExC,yCAAyC;AACzC,eAAO,MAAM,aAAa,UAAU,CAAC;AAErC,mDAAmD;AACnD,eAAO,MAAM,eAAe,YAAY,CAAC"}
|
|
@@ -32,10 +32,24 @@
|
|
|
32
32
|
* - Auto-delegation suggestions in hooks
|
|
33
33
|
*/
|
|
34
34
|
import { createRequire } from 'module';
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
/** Package version - injected at build time for compiled binaries, or read from package.json */
|
|
36
|
+
function getVersion() {
|
|
37
|
+
// For compiled binaries, use the build-time injected version
|
|
38
|
+
if (typeof DINO_VERSION !== 'undefined') {
|
|
39
|
+
return DINO_VERSION;
|
|
40
|
+
}
|
|
41
|
+
// For development/npm, read from package.json
|
|
42
|
+
try {
|
|
43
|
+
const requireFn = createRequire(import.meta.url);
|
|
44
|
+
const pkg = requireFn('../../../package.json');
|
|
45
|
+
return pkg.version;
|
|
46
|
+
}
|
|
47
|
+
catch {
|
|
48
|
+
// Fallback if package.json is not available
|
|
49
|
+
return '0.0.0-unknown';
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export const VERSION = getVersion();
|
|
39
53
|
/**
|
|
40
54
|
* Template version - increment when template content changes significantly
|
|
41
55
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/core/config/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/core/config/constants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAKvC,gGAAgG;AAChG,SAAS,UAAU;IACjB,6DAA6D;IAC7D,IAAI,OAAO,YAAY,KAAK,WAAW,EAAE,CAAC;QACxC,OAAO,YAAY,CAAC;IACtB,CAAC;IAED,8CAA8C;IAC9C,IAAI,CAAC;QACH,MAAM,SAAS,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACjD,MAAM,GAAG,GAAG,SAAS,CAAC,uBAAuB,CAAC,CAAC;QAC/C,OAAO,GAAG,CAAC,OAAO,CAAC;IACrB,CAAC;IAAC,MAAM,CAAC;QACP,4CAA4C;QAC5C,OAAO,eAAe,CAAC;IACzB,CAAC;AACH,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAW,UAAU,EAAE,CAAC;AAE5C;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,OAAO,CAAC;AAExC,yCAAyC;AACzC,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC;AAErC,mDAAmD;AACnD,MAAM,CAAC,MAAM,eAAe,GAAG,SAAS,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dino-spec",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.4.0",
|
|
4
4
|
"description": "Automatic context engineering for Claude Code",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
21
|
"build": "bun build.js",
|
|
22
|
+
"build:binary": "bun build-binary.js",
|
|
22
23
|
"dev": "bun --watch bin/dino.js",
|
|
23
24
|
"dev:cli": "bun run build && bun bin/dino.js",
|
|
24
25
|
"lint": "eslint src/",
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
"ink-text-input": "^6.0.0",
|
|
43
44
|
"ora": "^8.1.1",
|
|
44
45
|
"react": "^19.2.3",
|
|
46
|
+
"typescript": "^5.9.3",
|
|
45
47
|
"yaml": "^2.7.0",
|
|
46
48
|
"zod": "^3.24.1"
|
|
47
49
|
},
|
|
@@ -50,7 +52,6 @@
|
|
|
50
52
|
"@types/node": "^22.10.5",
|
|
51
53
|
"@types/react": "^19.2.8",
|
|
52
54
|
"memfs": "^4.56.10",
|
|
53
|
-
"typescript": "^5.7.3",
|
|
54
55
|
"vitest": "^2.1.8"
|
|
55
56
|
},
|
|
56
57
|
"keywords": [
|