@brydio/manifest 0.1.0-alpha.55 → 0.1.0-alpha.57

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brydio/manifest",
3
- "version": "0.1.0-alpha.55",
3
+ "version": "0.1.0-alpha.57",
4
4
  "description": "The shape of a Brydio app's manifest, its collections' schemas, and the checks that say what is wrong with one.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/nakel-ola/brydio-sdk",
11
11
  "directory": "packages/manifest"
12
12
  },
13
- "gitHead": "75d35840304f638ec8e0b2b3442c1b073c5c4d89",
13
+ "gitHead": "0ce11b42dc51c1d6c9cd53dda9cffc2fbe0e73a2",
14
14
  "exports": {
15
15
  ".": {
16
16
  "types": "./src/index.d.ts",
@@ -56,7 +56,7 @@ export interface FieldType {
56
56
  */
57
57
  export declare const FIELD_LIMITS: {
58
58
  /** Collections one app may keep. */
59
- readonly collections: 20;
59
+ readonly collections: 40;
60
60
  /** Fields one collection may have. */
61
61
  readonly fields: 40;
62
62
  /** Values one choice may allow. */
@@ -8,7 +8,7 @@ import { z } from 'zod';
8
8
  */
9
9
  export const FIELD_LIMITS = {
10
10
  /** Collections one app may keep. */
11
- collections: 20,
11
+ collections: 40,
12
12
  /** Fields one collection may have. */
13
13
  fields: 40,
14
14
  /** Values one choice may allow. */
package/src/grants.d.ts CHANGED
@@ -17,7 +17,7 @@
17
17
  * `timers.*`, running one of the app's own tools later (PJ01); `calendar`
18
18
  * is a handler's `calendar.*`, the caller's events on the event layer (CA02).
19
19
  */
20
- export declare const HOST_CAPABILITIES: readonly ["navigate", "message", "members", "projects", "files", "chats", "model", "secrets", "notify", "approvals", "chat", "directory", "webhooks", "timers", "calendar", "metrics", "sign"];
20
+ export declare const HOST_CAPABILITIES: readonly ["navigate", "message", "members", "projects", "files", "chats", "model", "secrets", "notify", "approvals", "chat", "directory", "webhooks", "timers", "calendar", "metrics", "sign", "finance"];
21
21
  /** The older name for `HOST_CAPABILITIES`, kept for what already imports it. */
22
22
  export declare const KNOWN_HOST_GRANTS: readonly string[];
23
23
  /** True for a host grant Brydio knows how to honour: a named capability, or one connection. */
package/src/grants.js CHANGED
@@ -36,6 +36,7 @@ export const HOST_CAPABILITIES = [
36
36
  'calendar',
37
37
  'metrics',
38
38
  'sign',
39
+ 'finance',
39
40
  ];
40
41
  /** The older name for `HOST_CAPABILITIES`, kept for what already imports it. */
41
42
  export const KNOWN_HOST_GRANTS = HOST_CAPABILITIES;
package/src/schema.d.ts CHANGED
@@ -50,7 +50,7 @@ export declare function effectivePlacementKey(one: {
50
50
  screen: string;
51
51
  }): string;
52
52
  /** Most custom tools one app may declare (A3-F08). */
53
- export declare const MAX_CUSTOM_TOOLS = 20;
53
+ export declare const MAX_CUSTOM_TOOLS = 100;
54
54
  /** A tool name the model and a policy row can both use as it is. */
55
55
  export declare const CUSTOM_TOOL_NAME: RegExp;
56
56
  /**
package/src/schema.js CHANGED
@@ -171,7 +171,7 @@ const screenSchema = z.object({
171
171
  .regex(/^(?!\/)(?!.*\.\.)[A-Za-z0-9_\-./]+\.m?js$/, 'An entry is a .js or .mjs path inside the bundle.'),
172
172
  });
173
173
  /** Most custom tools one app may declare (A3-F08). */
174
- export const MAX_CUSTOM_TOOLS = 20;
174
+ export const MAX_CUSTOM_TOOLS = 100;
175
175
  /** A tool name the model and a policy row can both use as it is. */
176
176
  export const CUSTOM_TOOL_NAME = /^[a-z][a-z0-9_]{0,59}$/;
177
177
  /**