@omg-dev/protocol 0.6.104 → 0.6.106

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.
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The starter prompts an empty composer offers in a chat that has no project.
3
+ *
4
+ * One owner for both clients. iOS draws them as a horizontal card rail and the
5
+ * web app draws them above the composer field, and each client keeps its own
6
+ * icon names because SF Symbols and Lucide do not share a vocabulary. The
7
+ * label, the description and above all the PROMPT must not drift: the prompt
8
+ * is the text the project-builder skill in the chat workspace is written to
9
+ * answer, so a reworded prompt silently changes what the agent does.
10
+ */
11
+ export type ChatStarterId = "website" | "app" | "api" | "image";
12
+ export type ChatStarter = {
13
+ /** Stable id. Client test ids and icon maps key off this, not the label. */
14
+ id: ChatStarterId;
15
+ label: string;
16
+ description: string;
17
+ /** Sent verbatim, and immediately, as the first message of a new chat. */
18
+ prompt: string;
19
+ };
20
+ export declare const CHAT_STARTERS: readonly ChatStarter[];
21
+ //# sourceMappingURL=chat-starters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-starters.d.ts","sourceRoot":"","sources":["../src/chat-starters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,CAAC;AAEhE,MAAM,MAAM,WAAW,GAAG;IACxB,4EAA4E;IAC5E,EAAE,EAAE,aAAa,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,SAAS,WAAW,EAyB/C,CAAC"}
@@ -0,0 +1,27 @@
1
+ export const CHAT_STARTERS = [
2
+ {
3
+ id: "website",
4
+ label: "Website",
5
+ description: "Design and publish a site",
6
+ prompt: "Help me create a website.",
7
+ },
8
+ {
9
+ id: "app",
10
+ label: "App",
11
+ description: "Build a mobile or web app",
12
+ prompt: "Help me create an app.",
13
+ },
14
+ {
15
+ id: "api",
16
+ label: "API",
17
+ description: "Create an endpoint or service",
18
+ prompt: "Help me create an API.",
19
+ },
20
+ {
21
+ id: "image",
22
+ label: "Image",
23
+ description: "Generate a custom visual",
24
+ prompt: "Help me create an image.",
25
+ },
26
+ ];
27
+ //# sourceMappingURL=chat-starters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-starters.js","sourceRoot":"","sources":["../src/chat-starters.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,MAAM,aAAa,GAA2B;IACnD;QACE,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,SAAS;QAChB,WAAW,EAAE,2BAA2B;QACxC,MAAM,EAAE,2BAA2B;KACpC;IACD;QACE,EAAE,EAAE,KAAK;QACT,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,2BAA2B;QACxC,MAAM,EAAE,wBAAwB;KACjC;IACD;QACE,EAAE,EAAE,KAAK;QACT,KAAK,EAAE,KAAK;QACZ,WAAW,EAAE,+BAA+B;QAC5C,MAAM,EAAE,wBAAwB;KACjC;IACD;QACE,EAAE,EAAE,OAAO;QACX,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,0BAA0B;QACvC,MAAM,EAAE,0BAA0B;KACnC;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omg-dev/protocol",
3
- "version": "0.6.104",
3
+ "version": "0.6.106",
4
4
  "description": "Typed public protocol for OMG sessions and live streams.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://omg.dev",