@wspc/cli 0.0.5 → 0.0.7

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/index.d.ts CHANGED
@@ -156,20 +156,12 @@ type UpdateTodoBody = {
156
156
  };
157
157
  type ProjectCreateData = {
158
158
  body?: CreateProjectBody;
159
- headers?: {
160
- 'X-Wspc-Actor'?: 'user' | 'agent';
161
- 'X-Wspc-Agent-Label'?: string;
162
- };
163
159
  path?: never;
164
160
  query?: never;
165
161
  url: '/todo/projects';
166
162
  };
167
163
  type RecurrenceRuleListData = {
168
164
  body?: never;
169
- headers?: {
170
- 'X-Wspc-Actor'?: 'user' | 'agent';
171
- 'X-Wspc-Agent-Label'?: string;
172
- };
173
165
  path?: never;
174
166
  query: {
175
167
  /**
@@ -182,10 +174,6 @@ type RecurrenceRuleListData = {
182
174
  };
183
175
  type TodoListData = {
184
176
  body?: never;
185
- headers?: {
186
- 'X-Wspc-Actor'?: 'user' | 'agent';
187
- 'X-Wspc-Agent-Label'?: string;
188
- };
189
177
  path?: never;
190
178
  query: {
191
179
  /**
@@ -208,20 +196,12 @@ type TodoListData = {
208
196
  };
209
197
  type TodoCreateData = {
210
198
  body?: CreateTodoBody;
211
- headers?: {
212
- 'X-Wspc-Actor'?: 'user' | 'agent';
213
- 'X-Wspc-Agent-Label'?: string;
214
- };
215
199
  path?: never;
216
200
  query?: never;
217
201
  url: '/todo/items';
218
202
  };
219
203
  type TodoTypeListData = {
220
204
  body?: never;
221
- headers?: {
222
- 'X-Wspc-Actor'?: 'user' | 'agent';
223
- 'X-Wspc-Agent-Label'?: string;
224
- };
225
205
  path?: never;
226
206
  query: {
227
207
  /**
@@ -235,10 +215,6 @@ type TodoTypeListData = {
235
215
  };
236
216
  type TodoUpdateData = {
237
217
  body?: UpdateTodoBody;
238
- headers?: {
239
- 'X-Wspc-Actor'?: 'user' | 'agent';
240
- 'X-Wspc-Agent-Label'?: string;
241
- };
242
218
  path: {
243
219
  id: string;
244
220
  };
@@ -560,9 +536,9 @@ interface TDataShape {
560
536
  type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
561
537
  type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
562
538
 
563
- declare const VERSION = "0.0.5";
564
- declare const SPEC_SHA = "601a9f59";
565
- declare const SPEC_FETCHED_AT = "2026-05-27T14:26:43.644Z";
539
+ declare const VERSION = "0.0.7";
540
+ declare const SPEC_SHA = "c579a55a";
541
+ declare const SPEC_FETCHED_AT = "2026-06-03T06:34:38.606Z";
566
542
  declare const API_BASE = "https://api.wspc.ai";
567
543
 
568
544
  type WspcClientOptions = {
package/dist/index.js CHANGED
@@ -836,7 +836,7 @@ function createAuthInterceptor(mode) {
836
836
  }
837
837
 
838
838
  // src/generated/sdk/client.gen.ts
839
- var client = createClient(createConfig());
839
+ var client = createClient(createConfig({ baseUrl: "https://api.wspc.ai" }));
840
840
 
841
841
  // src/generated/sdk/sdk.gen.ts
842
842
  var projectList = (options) => (options?.client ?? client).get({
@@ -902,9 +902,9 @@ var todoUpdate = (options) => (options.client ?? client).patch({
902
902
  });
903
903
 
904
904
  // src/version.ts
905
- var VERSION = "0.0.5";
906
- var SPEC_SHA = "601a9f59";
907
- var SPEC_FETCHED_AT = "2026-05-27T14:26:43.644Z";
905
+ var VERSION = "0.0.7";
906
+ var SPEC_SHA = "c579a55a";
907
+ var SPEC_FETCHED_AT = "2026-06-03T06:34:38.606Z";
908
908
  var API_BASE = "https://api.wspc.ai";
909
909
 
910
910
  // src/index.ts