@ottocode/web-sdk 0.1.230 → 0.1.231

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.
@@ -9,6 +9,7 @@ export declare function useConfig(): import("@tanstack/react-query").UseQueryRes
9
9
  guidedMode?: boolean;
10
10
  reasoningText?: boolean;
11
11
  reasoningLevel?: "minimal" | "low" | "medium" | "high" | "max" | "xhigh";
12
+ fullWidthContent?: boolean;
12
13
  };
13
14
  }, Error>;
14
15
  export declare function useModels(provider?: string): import("@tanstack/react-query").UseQueryResult<{
@@ -32,6 +33,7 @@ export declare function useUpdateDefaults(): import("@tanstack/react-query").Use
32
33
  guidedMode?: boolean;
33
34
  reasoningText?: boolean;
34
35
  reasoningLevel?: "minimal" | "low" | "medium" | "high" | "max" | "xhigh";
36
+ fullWidthContent?: boolean;
35
37
  };
36
38
  }, Error, {
37
39
  agent?: string;
@@ -41,6 +43,22 @@ export declare function useUpdateDefaults(): import("@tanstack/react-query").Use
41
43
  guidedMode?: boolean;
42
44
  reasoningText?: boolean;
43
45
  reasoningLevel?: "minimal" | "low" | "medium" | "high" | "max" | "xhigh";
46
+ fullWidthContent?: boolean;
44
47
  scope?: "global" | "local";
45
- }, unknown>;
48
+ }, {
49
+ previousConfig: {
50
+ agents: string[];
51
+ providers: string[];
52
+ defaults: {
53
+ agent: string;
54
+ provider: string;
55
+ model: string;
56
+ toolApproval?: "auto" | "dangerous" | "all";
57
+ guidedMode?: boolean;
58
+ reasoningText?: boolean;
59
+ reasoningLevel?: "minimal" | "low" | "medium" | "high" | "max" | "xhigh";
60
+ fullWidthContent?: boolean;
61
+ };
62
+ };
63
+ }>;
46
64
  //# sourceMappingURL=useConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useConfig.ts"],"names":[],"mappings":"AAGA,wBAAgB,SAAS;;;;;;;oBAgBrB,CAAC;kBACY,CAAC;qBACQ,CAAC;sBACH,CAAC;;UAbxB;AAED,wBAAgB,SAAS,CAAC,QAAQ,CAAC,EAAE,MAAM;;;;gBA2BzB,CAAC;iBACR,CAAC;yBACT,CAAC;;;UAvBH;AAED,wBAAgB,YAAY,0FAK3B;AAED,wBAAgB,iBAAiB;;;;;;oBAmBq4B,CAAC;kBAA6C,CAAC;qBAA2B,CAAC;sBAA4B,CAAC;;;YAdngC,MAAM;eACH,MAAM;YACT,MAAM;mBACC,MAAM,GAAG,WAAW,GAAG,KAAK;iBAC9B,OAAO;oBACJ,OAAO;qBACN,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO;YAChE,QAAQ,GAAG,OAAO;YAM5B"}
1
+ {"version":3,"file":"useConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useConfig.ts"],"names":[],"mappings":"AAKA,wBAAgB,SAAS;;;;;;;oBAWU,CAAC;kBACvB,CAAC;qBAIJ,CAAC;sBACL,CAAC;wBAE4B,CAAC;;UAbnC;AAED,wBAAgB,SAAS,CAAC,QAAQ,CAAC,EAAE,MAAM;;;;gBA0Be,CAAC;iBACtD,CAAC;yBACA,CAAC;;;UAtBN;AAED,wBAAgB,YAAY,0FAK3B;AAED,wBAAgB,iBAAiB;;;;;;oBA+C8G,CAAC;kBAA6C,CAAC;qBAA2B,CAAC;sBAA4B,CAAC;wBAA8E,CAAC;;;YA1C3T,MAAM;eACH,MAAM;YACT,MAAM;mBACC,MAAM,GAAG,WAAW,GAAG,KAAK;iBAC9B,OAAO;oBACJ,OAAO;qBACN,SAAS,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO;uBACrD,OAAO;YAClB,QAAQ,GAAG,OAAO;;;;;;;;;wBAzBM,CAAC;sBACvB,CAAC;yBAIJ,CAAC;0BACL,CAAC;4BAE4B,CAAC;;;GAkDnC"}
@@ -1,6 +1,8 @@
1
- interface Preferences {
1
+ interface StoredPreferences {
2
2
  vimMode: boolean;
3
3
  compactThread: boolean;
4
+ }
5
+ interface Preferences extends StoredPreferences {
4
6
  fullWidthContent: boolean;
5
7
  }
6
8
  export declare function usePreferences(): {
@@ -1 +1 @@
1
- {"version":3,"file":"usePreferences.d.ts","sourceRoot":"","sources":["../../src/hooks/usePreferences.ts"],"names":[],"mappings":"AAEA,UAAU,WAAW;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,OAAO,CAAC;CAC1B;AA8DD,wBAAgB,cAAc;;iCAOmB,OAAO,CAAC,WAAW,CAAC;EAQpE;AAED,YAAY,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"usePreferences.d.ts","sourceRoot":"","sources":["../../src/hooks/usePreferences.ts"],"names":[],"mappings":"AAGA,UAAU,iBAAiB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;CACvB;AAED,UAAU,WAAY,SAAQ,iBAAiB;IAC9C,gBAAgB,EAAE,OAAO,CAAC;CAC1B;AAmED,wBAAgB,cAAc;;iCAUlB,OAAO,CAAC,WAAW,CAAC;EAuC/B;AAED,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSessionStream.d.ts","sourceRoot":"","sources":["../../src/hooks/useSessionStream.ts"],"names":[],"mappings":"AAQA,wBAAgB,gBAAgB,CAC/B,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,OAAO,UAAO,QAq4Bd"}
1
+ {"version":3,"file":"useSessionStream.d.ts","sourceRoot":"","sources":["../../src/hooks/useSessionStream.ts"],"names":[],"mappings":"AAQA,wBAAgB,gBAAgB,CAC/B,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,OAAO,UAAO,QA65Bd"}