pindeck 2.9.0 → 3.0.0-beta.2

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/public/index.html CHANGED
@@ -45,7 +45,7 @@
45
45
  <button id="select-toggle" class="toggle" aria-pressed="true"
46
46
  title="Select (V): click to select, drag to move, handles to resize, arrows to nudge (Shift: 10 px), Alt: no snapping. Double-click or Enter to edit text.">
47
47
  <svg class="ic" viewBox="0 0 16 16" aria-hidden="true"><path d="M3 2l9 5-4 1.2L6.3 13z"/></svg> Select <kbd>V</kbd></button>
48
- <button id="pin-toggle" class="toggle" title="Pin (P): click elements to pin them for Claude, Esc to stop" aria-pressed="false">
48
+ <button id="pin-toggle" class="toggle" title="Pin (P): click elements to pin them for the assistant, Esc to stop" aria-pressed="false">
49
49
  <span class="dot">1</span> Pin <kbd>P</kbd></button>
50
50
  </span>
51
51
  <span class="menu-wrap">
@@ -73,16 +73,20 @@
73
73
  </section>
74
74
  </main>
75
75
 
76
- <!-- Right: chat with Claude -->
77
- <aside class="chat-pane" aria-label="Claude">
76
+ <!-- Right: chat with the selected assistant -->
77
+ <aside class="chat-pane" aria-label="Assistant">
78
78
  <div class="pane-head chat-head">
79
79
  <span class="menu-wrap">
80
80
  <button id="model-btn" class="model-btn" aria-haspopup="menu" aria-expanded="false"
81
- title="Model and effort for Claude">Claude <span id="model" class="muted"></span> ▾</button>
81
+ title="Choose model"><span id="model" class="muted"></span> ▾</button>
82
82
  <div id="model-menu" class="menu left model-menu" role="menu" hidden></div>
83
83
  </span>
84
+ <span class="menu-wrap effort-wrap">
85
+ <button id="effort-btn" class="model-btn" aria-label="Reasoning effort" aria-haspopup="menu" aria-expanded="false"><span id="effort">Effort</span> ▾</button>
86
+ <div id="effort-menu" class="menu model-menu" role="menu" aria-label="Reasoning effort" hidden></div>
87
+ </span>
84
88
  <span class="head-actions">
85
- <span id="conn" class="conn" title="Claude Code session"></span>
89
+ <span id="conn" class="conn" title="Backend session"></span>
86
90
  <button id="new-chat" class="small" title="Start a new conversation">New chat</button>
87
91
  </span>
88
92
  </div>
@@ -92,25 +96,25 @@
92
96
  <p>Press <kbd>P</kbd> and click elements on the slide. Each click gets a number. Then write what to change, e.g.
93
97
  <em>“1: align with 2, make 3 smaller”</em>.</p>
94
98
  <p>Or edit yourself: click to select, drag to move, pull a handle to resize, arrow keys to nudge,
95
- double-click to change the text. A selected element is what Claude takes “this” to mean.</p>
96
- <p>Add figures, audio, a PDF or a screenshot with <strong>+</strong>, or drag and drop or paste a file; Claude can put it on a slide
99
+ double-click to change the text. A selected element is what the assistant takes “this” to mean.</p>
100
+ <p>Add figures, audio, a PDF or a screenshot with <strong>+</strong>, or drag and drop or paste a file; the assistant can put it on a slide
97
101
  or, for a paper or report, take the details from it.</p>
98
- <p>Claude edits <code>index.html</code> and <code>theme.css</code>, checks the layout, and the slide updates here.
102
+ <p>The assistant edits <code id="deck-file">index.html</code> and <code>theme.css</code>, checks the layout, and the slide updates here.
99
103
  <code>brand.css</code> is locked.</p>
100
104
  </div>
101
105
  </div>
102
106
  <div id="drop-hint" class="drop-hint" hidden><div>Drop figures, audio or PDFs to attach them</div></div>
103
- <div id="working" class="working" hidden><span class="spinner"></span> <span id="working-text">Claude is working…</span></div>
107
+ <div id="working" class="working" hidden><span class="spinner"></span> <span id="working-text">The assistant is working…</span></div>
104
108
  <div class="composer">
105
109
  <div id="pin-tray" class="pin-tray"></div>
106
110
  <div id="attach-tray" class="attach-tray"></div>
107
- <textarea id="input" rows="3" placeholder="Ask Claude… refer to pins by number (1, 2, …)"></textarea>
111
+ <textarea id="input" rows="3" placeholder="Ask for a change… refer to pins by number (1, 2, …)"></textarea>
108
112
  <div class="composer-row">
109
113
  <span class="menu-wrap">
110
114
  <button id="add-btn" class="add-round" aria-haspopup="menu" aria-expanded="false" aria-label="Add to the message"
111
115
  title="Add a file or a screenshot to the message">+</button>
112
116
  <div id="add-menu" class="menu up" role="menu" hidden>
113
- <button role="menuitem" data-add="file"><strong>File…</strong><span>A figure, audio file or PDF (a figure, table, paper or report) for Claude to use (or drop or paste it)</span></button>
117
+ <button role="menuitem" data-add="file"><strong>File…</strong><span>A figure, audio file or PDF (a figure, table, paper or report) for the assistant to use (or drop or paste it)</span></button>
114
118
  <button role="menuitem" data-add="shot" id="add-shot"><strong>Screenshot</strong><span>This slide with its pins, for questions about how it looks</span></button>
115
119
  </div>
116
120
  </span>
@@ -124,6 +128,19 @@
124
128
  </aside>
125
129
  </div>
126
130
 
131
+ <dialog id="provider-switch" class="delete-dialog">
132
+ <form method="dialog">
133
+ <h3 id="provider-switch-title">Switch provider?</h3>
134
+ <p>This starts a new conversation. Carry over a summary of the current conversation?</p>
135
+ <p class="muted">The summary shares recent messages with the selected provider. Your slides and undo history stay unchanged.</p>
136
+ <div class="dialog-buttons">
137
+ <button value="cancel" autofocus>Cancel</button>
138
+ <button value="fresh">Start fresh</button>
139
+ <button value="summary" class="primary">Switch with summary</button>
140
+ </div>
141
+ </form>
142
+ </dialog>
143
+
127
144
  <dialog id="delete-dialog" class="delete-dialog">
128
145
  <form method="dialog">
129
146
  <h3 id="delete-title">Delete this element?</h3>
@@ -146,7 +163,7 @@
146
163
  <div class="dialog-buttons">
147
164
  <span class="import-notes">
148
165
  <label class="check" id="import-refine-wrap" hidden><input type="checkbox" id="import-refine" checked>
149
- <span id="import-refine-label">Then ask Claude to improve the complex slides</span></label>
166
+ <span id="import-refine-label">Then ask the assistant to improve the complex slides</span></label>
150
167
  <span class="muted small-note">Added after the current slide. You can undo this with ⌘Z.</span>
151
168
  </span>
152
169
  <button value="cancel">Cancel</button>