@plitzi/plitzi-builder 0.39.12 → 0.39.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/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @plitzi/plitzi-builder
2
2
 
3
+ ## 0.39.14
4
+
5
+ ### Patch Changes
6
+
7
+ - f1922cf: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
8
+ `@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
9
+ - Updated dependencies [f1922cf]
10
+ - @plitzi/plitzi-sdk@0.39.14
11
+ - @plitzi/sdk-auth@0.39.14
12
+ - @plitzi/sdk-authoring@0.39.14
13
+ - @plitzi/sdk-dev-tools@0.39.14
14
+ - @plitzi/sdk-elements@0.39.14
15
+ - @plitzi/sdk-event-bridge@0.39.14
16
+ - @plitzi/sdk-interactions@0.39.14
17
+ - @plitzi/sdk-navigation@0.39.14
18
+ - @plitzi/sdk-plugins@0.39.14
19
+ - @plitzi/sdk-schema@0.39.14
20
+ - @plitzi/sdk-shared@0.39.14
21
+ - @plitzi/sdk-style@0.39.14
22
+ - @plitzi/sdk-variables@0.39.14
23
+
24
+ ## 0.39.13
25
+
26
+ ### Patch Changes
27
+
28
+ - 919736b: Released with every `@plitzi` package at this version. What changed in each, and what to do when you upgrade, is in
29
+ `@plitzi/cli`'s `CHANGELOG.md`: one copy of the notes, not one per package.
30
+ - Updated dependencies [919736b]
31
+ - @plitzi/plitzi-sdk@0.39.13
32
+ - @plitzi/sdk-auth@0.39.13
33
+ - @plitzi/sdk-authoring@0.39.13
34
+ - @plitzi/sdk-dev-tools@0.39.13
35
+ - @plitzi/sdk-elements@0.39.13
36
+ - @plitzi/sdk-event-bridge@0.39.13
37
+ - @plitzi/sdk-interactions@0.39.13
38
+ - @plitzi/sdk-navigation@0.39.13
39
+ - @plitzi/sdk-plugins@0.39.13
40
+ - @plitzi/sdk-schema@0.39.13
41
+ - @plitzi/sdk-shared@0.39.13
42
+ - @plitzi/sdk-style@0.39.13
43
+ - @plitzi/sdk-variables@0.39.13
44
+
3
45
  ## 0.39.12
4
46
 
5
47
  ### Patch Changes
@@ -0,0 +1,8 @@
1
+ import { AgentSpace } from './agentSteps';
2
+ /**
3
+ * Working on this space with an AI agent — Claude Code, OpenCode, Gemini CLI or Codex: as a collaborator over the MCP,
4
+ * or on the person's computer with the CLI. What to set up once, with this space's address written in, and what to
5
+ * tell the agent as the work goes, each a line to copy.
6
+ */
7
+ declare const AgentPanel: (space: AgentSpace) => import('react').JSX.Element;
8
+ export default AgentPanel;
@@ -0,0 +1,75 @@
1
+ /** A line to copy: what it is for, the words, and whether it is a command for a terminal or words for the agent. */
2
+ export type AgentLine = {
3
+ id: string;
4
+ label: string;
5
+ text: string;
6
+ kind: 'command' | 'prompt';
7
+ note?: string;
8
+ };
9
+ /** One way of working with an agent: what is set up once, and what to tell it as the work goes. */
10
+ export type AgentWay = {
11
+ setup: AgentLine[];
12
+ prompts: AgentLine[];
13
+ };
14
+ /** The space the lines are written for, and where this deployment's MCP server answers — none where it runs none. */
15
+ export type AgentSpace = {
16
+ name: string;
17
+ permanentUrl: string;
18
+ mcpServer?: string;
19
+ };
20
+ /**
21
+ * The agents the panel writes for: how each adds an MCP server over HTTP, how — and where — it signs in to it, the
22
+ * command that starts it, and whether it reads the project's `AGENTS.md` by itself — Gemini CLI reads its own
23
+ * `GEMINI.md`, so it is told.
24
+ */
25
+ export declare const AGENTS: readonly [{
26
+ readonly id: "claude";
27
+ readonly label: "Claude Code";
28
+ readonly start: "claude";
29
+ readonly readsAgents: true;
30
+ readonly add: (url: string) => string;
31
+ readonly login: "/mcp";
32
+ readonly loginWhere: "In a new Claude Code session — one already open does not see Plitzi — type /mcp, pick plitzi and Authenticate.";
33
+ }, {
34
+ readonly id: "opencode";
35
+ readonly label: "OpenCode";
36
+ readonly start: "opencode";
37
+ readonly readsAgents: true;
38
+ readonly add: (url: string) => string;
39
+ readonly login: "opencode mcp auth plitzi";
40
+ readonly loginWhere: "In a terminal.";
41
+ }, {
42
+ readonly id: "gemini";
43
+ readonly label: "Gemini CLI";
44
+ readonly start: "gemini";
45
+ readonly readsAgents: false;
46
+ readonly add: (url: string) => string;
47
+ readonly login: "/mcp auth plitzi";
48
+ readonly loginWhere: "Inside gemini, started after the line above.";
49
+ }, {
50
+ readonly id: "codex";
51
+ readonly label: "Codex";
52
+ readonly start: "codex";
53
+ readonly readsAgents: true;
54
+ readonly add: (url: string) => string;
55
+ readonly login: "codex mcp login plitzi";
56
+ readonly loginWhere: "In a terminal.";
57
+ }];
58
+ export type AgentId = (typeof AGENTS)[number]['id'];
59
+ export declare const isAgentId: (value: unknown) => value is AgentId;
60
+ /**
61
+ * Working on a space with an agent, the two ways this builder offers — one list, read by the panel and held by its test:
62
+ *
63
+ * - **As a collaborator**: the agent joins the space itself over Plitzi's MCP server, signed in as the person, and
64
+ * every change it makes is the draft here, made as it makes it — it shows among the collaborators.
65
+ * - **On the computer**: the space taken out as a project with the CLI (`plitzi create --from`), run there, and kept in
66
+ * step with the space in the cloud — its changes brought in (`space pull`), the project's sent back as the draft
67
+ * (`space push`). The project carries `AGENTS.md` and Plitzi's skills for whichever agent works in it.
68
+ *
69
+ * Not both at once on one space: a change made here or over the MCP while the project is out makes its push wait for a
70
+ * pull.
71
+ */
72
+ export declare const agentSteps: ({ name, permanentUrl, mcpServer }: AgentSpace, agentId: AgentId) => {
73
+ collaborator?: AgentWay;
74
+ local: AgentWay;
75
+ };
@@ -0,0 +1,2 @@
1
+ import { default as AgentPanel } from './AgentPanel';
2
+ export default AgentPanel;
@@ -8,6 +8,8 @@ export type HeaderPopoverProps = {
8
8
  trigger: ReactNode;
9
9
  triggerClassName: string;
10
10
  align?: 'start' | 'end';
11
+ /** A panel that holds lines to read whole — commands, prompts: wider, and scrolling within the window's height. */
12
+ wide?: boolean;
11
13
  /** The panel's contents, given the way to close it. */
12
14
  children: (close: () => void) => ReactNode;
13
15
  };
@@ -15,5 +17,5 @@ export type HeaderPopoverProps = {
15
17
  * A panel under a header button that says something and offers what to do about it — the draft's status. A dialog,
16
18
  * not a menu: focus moves to its first control, Escape and a press outside close it.
17
19
  */
18
- declare const HeaderPopover: ({ id, label, title, trigger, triggerClassName, align, children }: HeaderPopoverProps) => import('react').JSX.Element;
20
+ declare const HeaderPopover: ({ id, label, title, trigger, triggerClassName, align, wide, children }: HeaderPopoverProps) => import('react').JSX.Element;
19
21
  export default HeaderPopover;
@@ -1,6 +1,7 @@
1
1
  /**
2
- * What the canvas's visitor is for the space's audiences — the device, the language, whether they came before — each
3
- * left to what the builder says by itself until chosen: the device the canvas is sized as, the editor's language.
2
+ * What the canvas's visitor is for the space's audiences — the device, the language, the country, whether they came
3
+ * before — each left to what the builder says by itself until chosen: the device the canvas is sized as, the editor's
4
+ * language, no country.
4
5
  */
5
6
  declare const AudienceFacts: () => import('react').JSX.Element;
6
7
  export default AudienceFacts;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The instant the canvas's preview is shown at, for what the space shows by the time (`timeWindow`) — written and read
2
+ * The instant the canvas's preview is shown at, for what the space shows or says by the time (`timeWindow`, `countdown`) — written and read
3
3
  * in UTC, as the windows are. Left empty, the editor's own clock.
4
4
  */
5
5
  declare const SimulatedTime: () => import('react').JSX.Element;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  "name": "@plitzi/plitzi-builder",
3
- "version": "0.39.12",
3
+ "version": "0.39.14",
4
4
  "homepage": "./",
5
5
  "license": "AGPL-3.0",
6
6
  "files": [
@@ -52,7 +52,7 @@ declare const _default: {
52
52
  "apollo-upload-client": "^20.0.0",
53
53
  "clsx": "^2.1.1",
54
54
  "comlink": "^4.4.2",
55
- "graphql": "^17.1.0",
55
+ "graphql": "^16.15.0",
56
56
  "graphql-ws": "^6.4.2",
57
57
  "immer": "^11.2.10",
58
58
  "jszip": "^3.10.2",