@productbrain/cli 0.1.0-beta.100 → 0.1.0-beta.102

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.
Files changed (41) hide show
  1. package/dist/__tests__/handshake.test.js +361 -2
  2. package/dist/__tests__/handshake.test.js.map +1 -1
  3. package/dist/__tests__/workspace.test.js +25 -5
  4. package/dist/__tests__/workspace.test.js.map +1 -1
  5. package/dist/commands/admin/seed.d.ts +14 -0
  6. package/dist/commands/admin/seed.d.ts.map +1 -1
  7. package/dist/commands/admin/seed.js +196 -0
  8. package/dist/commands/admin/seed.js.map +1 -1
  9. package/dist/commands/admin/seed.test.d.ts +5 -0
  10. package/dist/commands/admin/seed.test.d.ts.map +1 -1
  11. package/dist/commands/admin/seed.test.js +60 -2
  12. package/dist/commands/admin/seed.test.js.map +1 -1
  13. package/dist/commands/connect-screens.d.ts +6 -3
  14. package/dist/commands/connect-screens.d.ts.map +1 -1
  15. package/dist/commands/connect-screens.js +26 -8
  16. package/dist/commands/connect-screens.js.map +1 -1
  17. package/dist/commands/handshake.d.ts +113 -1
  18. package/dist/commands/handshake.d.ts.map +1 -1
  19. package/dist/commands/handshake.js +437 -17
  20. package/dist/commands/handshake.js.map +1 -1
  21. package/dist/commands/workspace.d.ts +22 -1
  22. package/dist/commands/workspace.d.ts.map +1 -1
  23. package/dist/commands/workspace.js +1 -1
  24. package/dist/commands/workspace.js.map +1 -1
  25. package/dist/generators/__tests__/surface-profiles.test.d.ts +2 -0
  26. package/dist/generators/__tests__/surface-profiles.test.d.ts.map +1 -0
  27. package/dist/generators/__tests__/surface-profiles.test.js +89 -0
  28. package/dist/generators/__tests__/surface-profiles.test.js.map +1 -0
  29. package/dist/lib/normalizeMaterializedFilename.d.ts +28 -0
  30. package/dist/lib/normalizeMaterializedFilename.d.ts.map +1 -0
  31. package/dist/lib/normalizeMaterializedFilename.js +56 -0
  32. package/dist/lib/normalizeMaterializedFilename.js.map +1 -0
  33. package/dist/lib/normalizeMaterializedFilename.test.d.ts +16 -0
  34. package/dist/lib/normalizeMaterializedFilename.test.d.ts.map +1 -0
  35. package/dist/lib/normalizeMaterializedFilename.test.js +90 -0
  36. package/dist/lib/normalizeMaterializedFilename.test.js.map +1 -0
  37. package/dist/lib/onboarding-phases.d.ts +9 -0
  38. package/dist/lib/onboarding-phases.d.ts.map +1 -0
  39. package/dist/lib/onboarding-phases.js +120 -0
  40. package/dist/lib/onboarding-phases.js.map +1 -0
  41. package/package.json +1 -1
@@ -0,0 +1,90 @@
1
+ /**
2
+ * normalizeMaterializedFilename unit tests — WP-379 S5b.
3
+ *
4
+ * Contract assertions:
5
+ * - Setup-ProductBrain.mdc → setup-productbrain.mdc
6
+ * - Already-normalized input is idempotent
7
+ * - Unicode chars that map to ASCII (via NFKD) retain base form; others dropped
8
+ * - Leading dot stripped; file is otherwise preserved
9
+ * - Empty input returns empty string
10
+ * - Extension dots are preserved
11
+ * - Non-alphanumeric sequences → single hyphen
12
+ *
13
+ * Chain: WP-379 S5b.
14
+ */
15
+ import { describe, expect, it } from 'vitest';
16
+ import { normalizeMaterializedFilename } from './normalizeMaterializedFilename.js';
17
+ describe('normalizeMaterializedFilename', () => {
18
+ // ── Primary contract test (from bet spec) ───────────────────────────────────
19
+ it('Setup-ProductBrain.mdc → setup-productbrain.mdc', () => {
20
+ expect(normalizeMaterializedFilename('Setup-ProductBrain.mdc')).toBe('setup-productbrain.mdc');
21
+ });
22
+ // ── Idempotency ──────────────────────────────────────────────────────────────
23
+ it('already-normalized input is idempotent', () => {
24
+ const normalized = 'setup-productbrain.mdc';
25
+ expect(normalizeMaterializedFilename(normalized)).toBe(normalized);
26
+ });
27
+ it('applying twice produces the same result', () => {
28
+ const input = 'My Rule File.md';
29
+ const once = normalizeMaterializedFilename(input);
30
+ const twice = normalizeMaterializedFilename(once);
31
+ expect(once).toBe(twice);
32
+ });
33
+ // ── Uppercase handling ────────────────────────────────────────────────────────
34
+ it('lowercases all ASCII letters', () => {
35
+ expect(normalizeMaterializedFilename('CHAIN-RULES.mdc')).toBe('chain-rules.mdc');
36
+ });
37
+ it('mixed case with spaces → lowercase with hyphens', () => {
38
+ expect(normalizeMaterializedFilename('My Custom Rule.md')).toBe('my-custom-rule.md');
39
+ });
40
+ // ── Unicode normalization ─────────────────────────────────────────────────────
41
+ it('accented chars via NFKD → base ASCII (é → e)', () => {
42
+ expect(normalizeMaterializedFilename('Régle.md')).toBe('regle.md');
43
+ });
44
+ it('non-ASCII chars that cannot normalize → dropped', () => {
45
+ // Chinese chars don't map to ASCII — they're dropped, hyphens collapsed.
46
+ const result = normalizeMaterializedFilename('设置规则.md');
47
+ // No Chinese remains; just the extension part
48
+ expect(result).toBe('.md');
49
+ });
50
+ it('ligature "fi" decomposes to "fi"', () => {
51
+ // NFKD decomposes fi (fi ligature, U+FB01) to 'f' + 'i'
52
+ expect(normalizeMaterializedFilename('file.md')).toBe('file.md');
53
+ });
54
+ // ── Leading dots ──────────────────────────────────────────────────────────────
55
+ it('single leading dot is stripped', () => {
56
+ expect(normalizeMaterializedFilename('.hidden-rule.md')).toBe('hidden-rule.md');
57
+ });
58
+ it('multiple leading dots are stripped', () => {
59
+ expect(normalizeMaterializedFilename('..doubly-hidden.md')).toBe('doubly-hidden.md');
60
+ });
61
+ it('dot-only input returns empty string', () => {
62
+ expect(normalizeMaterializedFilename('.')).toBe('');
63
+ });
64
+ it('extension dot mid-name is preserved', () => {
65
+ // "foo.bar.mdc" → "foo.bar.mdc"
66
+ expect(normalizeMaterializedFilename('foo.bar.mdc')).toBe('foo.bar.mdc');
67
+ });
68
+ // ── Empty input ──────────────────────────────────────────────────────────────
69
+ it('empty string returns empty string', () => {
70
+ expect(normalizeMaterializedFilename('')).toBe('');
71
+ });
72
+ // ── Special character sequences ───────────────────────────────────────────────
73
+ it('multiple consecutive spaces → single hyphen', () => {
74
+ expect(normalizeMaterializedFilename('a b.md')).toBe('a-b.md');
75
+ });
76
+ it('underscores replaced with hyphens', () => {
77
+ expect(normalizeMaterializedFilename('my_rule_file.mdc')).toBe('my-rule-file.mdc');
78
+ });
79
+ it('leading and trailing hyphens are trimmed', () => {
80
+ expect(normalizeMaterializedFilename('-foo-')).toBe('foo');
81
+ });
82
+ it('mixed special chars collapse to single hyphen', () => {
83
+ expect(normalizeMaterializedFilename('foo!@#bar.mdc')).toBe('foo-bar.mdc');
84
+ });
85
+ // ── No extension ────────────────────────────────────────────────────────────
86
+ it('name without extension is normalized', () => {
87
+ expect(normalizeMaterializedFilename('MyRule')).toBe('myrule');
88
+ });
89
+ });
90
+ //# sourceMappingURL=normalizeMaterializedFilename.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalizeMaterializedFilename.test.js","sourceRoot":"","sources":["../../src/lib/normalizeMaterializedFilename.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC7C,+EAA+E;IAC/E,EAAE,CAAC,iDAAiD,EAAE,GAAG,EAAE;QACzD,MAAM,CAAC,6BAA6B,CAAC,wBAAwB,CAAC,CAAC,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;IACjG,CAAC,CAAC,CAAC;IAEH,gFAAgF;IAChF,EAAE,CAAC,wCAAwC,EAAE,GAAG,EAAE;QAChD,MAAM,UAAU,GAAG,wBAAwB,CAAC;QAC5C,MAAM,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACrE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,yCAAyC,EAAE,GAAG,EAAE;QACjD,MAAM,KAAK,GAAG,iBAAiB,CAAC;QAChC,MAAM,IAAI,GAAG,6BAA6B,CAAC,KAAK,CAAC,CAAC;QACl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C,IAAI,CAAC,aAAa,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;IAEH,+EAA+E;IAC/E,EAAE,CAAC,sCAAsC,EAAE,GAAG,EAAE;QAC9C,MAAM,CAAC,6BAA6B,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACjE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Onboarding conversation phases — the 5-phase arc for first-time setup.
3
+ * WP-304: Each phase has a directive (what the LLM should do) and exit criteria (what the CLI checks).
4
+ */
5
+ import type { ConversationPhase } from './conversation-phases.js';
6
+ export declare const ONBOARDING_PHASES: ConversationPhase[];
7
+ /** Check if user wants to skip the conversation. */
8
+ export declare function userWantsToSkip(text: string): boolean;
9
+ //# sourceMappingURL=onboarding-phases.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding-phases.d.ts","sourceRoot":"","sources":["../../src/lib/onboarding-phases.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAO,MAAM,iBAAiB,EAAE,iBAAiB,EA4GhD,CAAC;AAKF,oDAAoD;AACpD,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAErD"}
@@ -0,0 +1,120 @@
1
+ /**
2
+ * Onboarding conversation phases — the 5-phase arc for first-time setup.
3
+ * WP-304: Each phase has a directive (what the LLM should do) and exit criteria (what the CLI checks).
4
+ */
5
+ export const ONBOARDING_PHASES = [
6
+ {
7
+ id: 'greet',
8
+ directive: `Your job: Say hello and ask what they're building. One sentence. No fluff.
9
+ Example: "Hey! What are you building?"
10
+ Do NOT ask multiple questions. Do NOT explain Product Brain yet.`,
11
+ exitCriteria: [
12
+ {
13
+ name: 'greeting_sent',
14
+ check: (s) => s.phaseExchanges['greet'] !== undefined && (s.phaseExchanges['greet'] ?? 0) >= 0,
15
+ required: true,
16
+ },
17
+ ],
18
+ maxExchanges: 1,
19
+ },
20
+ {
21
+ id: 'explore',
22
+ directive: `Your job: Learn what they're building. Get specific.
23
+ If they gave a vague answer ("something big", "a tool", "an app"), pick one concrete detail and dig in.
24
+ Ask who uses it, what it actually does, or how it works today.
25
+ Good questions: "Who's using it?" / "What does it replace?" / "How does that work today?"
26
+ Bad questions: "What domain are you operating in?" / "Can you elaborate on that?"
27
+ Do NOT ask why they're trying Product Brain yet.
28
+ One question only.`,
29
+ exitCriteria: [
30
+ {
31
+ name: 'user_mentioned_product',
32
+ check: (s) => s.signals.mentionedProduct,
33
+ required: true,
34
+ },
35
+ {
36
+ name: 'has_substantive_answer',
37
+ check: (s) => s.signals.hasSubstantiveAnswer,
38
+ required: true,
39
+ },
40
+ ],
41
+ maxExchanges: 3,
42
+ },
43
+ {
44
+ id: 'deepen',
45
+ directive: `Your job: Understand what's hard about what they're building.
46
+ Pick ONE specific thing they mentioned and ask what breaks or why it's hard. Be direct and short.
47
+ Good: "What breaks when the agent doesn't have that context?" / "Where does the rework hit hardest?"
48
+ Bad: "What makes it hard to ensure X?" / "Can you tell me more about the challenges?"
49
+ Do NOT ask why they're trying Product Brain yet.
50
+ One question only.`,
51
+ exitCriteria: [
52
+ {
53
+ name: 'user_mentioned_challenge',
54
+ check: (s) => s.signals.mentionedChallenge,
55
+ required: false,
56
+ },
57
+ {
58
+ name: 'min_2_substantive_messages',
59
+ check: (s) => s.signals.substantiveMessageCount >= 2,
60
+ required: true,
61
+ },
62
+ ],
63
+ maxExchanges: 2,
64
+ },
65
+ {
66
+ id: 'why_pb',
67
+ directive: `Your job: Ask what made them try Product Brain. Be direct.
68
+ Examples: "What made you try Product Brain?" or "What problem are you hoping Product Brain solves?"
69
+ Do NOT summarize or synthesize yet.
70
+ One question only.`,
71
+ exitCriteria: [
72
+ {
73
+ name: 'user_answered_why_pb',
74
+ check: (s) => s.signals.mentionedWhyPB,
75
+ required: false,
76
+ },
77
+ {
78
+ name: 'min_total_words_25',
79
+ check: (s) => s.totalUserWords >= 25,
80
+ required: true,
81
+ },
82
+ {
83
+ name: 'min_3_substantive_messages',
84
+ check: (s) => s.signals.substantiveMessageCount >= 3,
85
+ required: true,
86
+ },
87
+ ],
88
+ maxExchanges: 2,
89
+ },
90
+ {
91
+ id: 'bridge',
92
+ directive: `Your job: Bridge the conversation to Product Brain's value. Speak as Product Brain (first person "I").
93
+ Keep it SHORT — 2-3 sentences max. Do NOT list bullet items. The CLI will handle showing examples.
94
+
95
+ Structure:
96
+ 1. One sentence connecting their problem to what you (PB) do. Use first person.
97
+ 2. One sentence showing you understood something specific they said.
98
+
99
+ Good example: "I can remember all of that across your AI sessions — so next time you open your AI tools, they already know about the decision rot problem and your cashflow automation. No more re-explaining."
100
+ Bad example: "Product Brain can help — it remembers context. Here's what I'd save: * item 1 * item 2 * item 3"
101
+
102
+ Do NOT list items. Do NOT use bullet points or asterisks. The CLI shows examples separately.
103
+ This is a STATEMENT. Do NOT ask a question. Do NOT end with a question mark.`,
104
+ exitCriteria: [
105
+ {
106
+ name: 'bridge_delivered',
107
+ check: (s) => (s.phaseExchanges['bridge'] ?? 0) >= 1,
108
+ required: true,
109
+ },
110
+ ],
111
+ maxExchanges: 1,
112
+ },
113
+ ];
114
+ /** User wants to skip — detected by regex on user input. */
115
+ const SKIP_PATTERNS = [/\b(?:skip|done|that'?s it|wrap up|let'?s go|finish|end)\b/i];
116
+ /** Check if user wants to skip the conversation. */
117
+ export function userWantsToSkip(text) {
118
+ return SKIP_PATTERNS.some((p) => p.test(text));
119
+ }
120
+ //# sourceMappingURL=onboarding-phases.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding-phases.js","sourceRoot":"","sources":["../../src/lib/onboarding-phases.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,MAAM,CAAC,MAAM,iBAAiB,GAAwB;IACpD;QACE,EAAE,EAAE,OAAO;QACX,SAAS,EAAE;;iEAEkD;QA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AAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc;gBACtC,QAAQ,EAAE,KAAK;aAChB;YACD;gBACE,IAAI,EAAE,oBAAoB;gBAC1B,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,IAAI,EAAE;gBACpC,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,IAAI,EAAE,4BAA4B;gBAClC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,uBAAuB,IAAI,CAAC;gBACpD,QAAQ,EAAE,IAAI;aACf;SACF;QACD,YAAY,EAAE,CAAC;KAChB;IACD;QACE,EAAE,EAAE,QAAQ;QACZ,SAAS,EAAE;;;;;;;;;;;6EAW8D;QACzE,YAAY,EAAE;YACZ;gBACE,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC;gBACpD,QAAQ,EAAE,IAAI;aACf;SACF;QACD,YAAY,EAAE,CAAC;KAChB;CACF,CAAC;AAEF,4DAA4D;AAC5D,MAAM,aAAa,GAAG,CAAC,4DAA4D,CAAC,CAAC;AAErF,oDAAoD;AACpD,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,OAAO,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AACjD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@productbrain/cli",
3
- "version": "0.1.0-beta.100",
3
+ "version": "0.1.0-beta.102",
4
4
  "description": "Product Brain — Chain knowledge and write-back CLI",
5
5
  "type": "module",
6
6
  "bin": {