@nac3/forge-cli 1.0.11 → 1.0.14
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/chat/panel.d.ts.map +1 -1
- package/dist/chat/panel.js +17 -0
- package/dist/chat/panel.js.map +1 -1
- package/dist/chat/server.d.ts.map +1 -1
- package/dist/chat/server.js +42 -25
- package/dist/chat/server.js.map +1 -1
- package/dist/chat/session_projects.d.ts +6 -2
- package/dist/chat/session_projects.d.ts.map +1 -1
- package/dist/chat/session_projects.js +6 -3
- package/dist/chat/session_projects.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -19,9 +19,13 @@
|
|
|
19
19
|
export interface SessionProject {
|
|
20
20
|
root: string;
|
|
21
21
|
slug: string;
|
|
22
|
+
name: string;
|
|
22
23
|
}
|
|
23
|
-
/** Point a session at its own project (root + slug).
|
|
24
|
-
|
|
24
|
+
/** Point a session at its own project (root + slug + display name).
|
|
25
|
+
* name travels WITH root/slug so a turn's prompt context cannot report
|
|
26
|
+
* the global project's name against the session's directory (Pablo
|
|
27
|
+
* 2026-06-18: chat said "project A" while cwd was project B's path). */
|
|
28
|
+
export declare function setSessionProject(sessionId: string, root: string, slug: string, name: string): void;
|
|
25
29
|
/** The override for a session, or null when it follows the global project. */
|
|
26
30
|
export declare function getSessionProject(sessionId: string): SessionProject | null;
|
|
27
31
|
/** Clear a session's override (back to the global project). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session_projects.d.ts","sourceRoot":"","sources":["../../src/chat/session_projects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,WAAW,cAAc;IAAG,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE;
|
|
1
|
+
{"version":3,"file":"session_projects.d.ts","sourceRoot":"","sources":["../../src/chat/session_projects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,WAAW,cAAc;IAAG,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE;AAI5E;;;yEAGyE;AACzE,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAGnG;AAED,8EAA8E;AAC9E,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc,GAAG,IAAI,CAE1E;AAED,+DAA+D;AAC/D,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAE3D;AAED,iBAAiB;AACjB,wBAAgB,qBAAqB,IAAI,IAAI,CAAwB"}
|
|
@@ -17,11 +17,14 @@
|
|
|
17
17
|
* ASCII-only.
|
|
18
18
|
*/
|
|
19
19
|
const _overrides = new Map();
|
|
20
|
-
/** Point a session at its own project (root + slug).
|
|
21
|
-
|
|
20
|
+
/** Point a session at its own project (root + slug + display name).
|
|
21
|
+
* name travels WITH root/slug so a turn's prompt context cannot report
|
|
22
|
+
* the global project's name against the session's directory (Pablo
|
|
23
|
+
* 2026-06-18: chat said "project A" while cwd was project B's path). */
|
|
24
|
+
export function setSessionProject(sessionId, root, slug, name) {
|
|
22
25
|
if (!sessionId)
|
|
23
26
|
return;
|
|
24
|
-
_overrides.set(sessionId, { root, slug });
|
|
27
|
+
_overrides.set(sessionId, { root, slug, name });
|
|
25
28
|
}
|
|
26
29
|
/** The override for a session, or null when it follows the global project. */
|
|
27
30
|
export function getSessionProject(sessionId) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session_projects.js","sourceRoot":"","sources":["../../src/chat/session_projects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,MAAM,UAAU,GAAG,IAAI,GAAG,EAA0B,CAAC;AAErD
|
|
1
|
+
{"version":3,"file":"session_projects.js","sourceRoot":"","sources":["../../src/chat/session_projects.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAIH,MAAM,UAAU,GAAG,IAAI,GAAG,EAA0B,CAAC;AAErD;;;yEAGyE;AACzE,MAAM,UAAU,iBAAiB,CAAC,SAAiB,EAAE,IAAY,EAAE,IAAY,EAAE,IAAY;IAC3F,IAAI,CAAC,SAAS;QAAE,OAAO;IACvB,UAAU,CAAC,GAAG,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;AAClD,CAAC;AAED,8EAA8E;AAC9E,MAAM,UAAU,iBAAiB,CAAC,SAAiB;IACjD,OAAO,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC;AAC3C,CAAC;AAED,+DAA+D;AAC/D,MAAM,UAAU,mBAAmB,CAAC,SAAiB;IACnD,UAAU,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,CAAC;AAED,iBAAiB;AACjB,MAAM,UAAU,qBAAqB,KAAW,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC"}
|
package/dist/version.d.ts
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Yujin Forge CLI version. Kept in sync with package.json by the npm
|
|
3
3
|
* "version" lifecycle (scripts/sync_version.mjs) so the two never drift.
|
|
4
4
|
*/
|
|
5
|
-
export declare const VERSION = "1.0.
|
|
5
|
+
export declare const VERSION = "1.0.14";
|
|
6
6
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nac3/forge-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Yujin Forge -- voice-first NAC-3 React development framework. CLI + chat panel + spec ingest + 10-format document reader + voice loop.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": "Pablo Kuschnirof <pablo@rpaforce.com>",
|