@capybara-hq/plugin-sdk 0.1.0-rc.46 → 0.1.0-rc.47

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
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "0.1.0-rc.46";
1
+ export declare const SDK_VERSION = "0.1.0-rc.47";
2
2
  export * from "./agent-template.js";
3
3
  export * from "./bootstrap.js";
4
4
  export * from "./cards.js";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = "0.1.0-rc.46";
1
+ export const SDK_VERSION = "0.1.0-rc.47";
2
2
  export * from "./agent-template.js";
3
3
  export * from "./bootstrap.js";
4
4
  export * from "./cards.js";
@@ -166,6 +166,10 @@ export declare const MOBILE_SHELL_LIMITS: {
166
166
  readonly shareTitle: 256;
167
167
  readonly shareText: 4000;
168
168
  readonly url: 2048;
169
+ /** `nav@1`: a section or menu label is 1..32 characters. */
170
+ readonly navLabel: 32;
171
+ /** `nav@1`: a badge count is an integer 0..9999 (`countMore` says there are more). */
172
+ readonly navCount: 9999;
169
173
  };
170
174
  /** The menu item id pattern, checked on `menu@1.show` (the shell validates every input). */
171
175
  export declare const MENU_ITEM_ID: RegExp;
@@ -26,6 +26,10 @@ export const MOBILE_SHELL_LIMITS = {
26
26
  shareTitle: 256,
27
27
  shareText: 4000,
28
28
  url: 2048,
29
+ /** `nav@1`: a section or menu label is 1..32 characters. */
30
+ navLabel: 32,
31
+ /** `nav@1`: a badge count is an integer 0..9999 (`countMore` says there are more). */
32
+ navCount: 9999,
29
33
  };
30
34
  /** The menu item id pattern, checked on `menu@1.show` (the shell validates every input). */
31
35
  export const MENU_ITEM_ID = /^[A-Za-z0-9_.-]{1,64}$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capybara-hq/plugin-sdk",
3
- "version": "0.1.0-rc.46",
3
+ "version": "0.1.0-rc.47",
4
4
  "description": "Capybara plugin SDK: the types and pure functions plugins are written against",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {