@segmentstream/ontology 0.93.0 → 0.94.0

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.
@@ -3,10 +3,10 @@ export declare const BLOB_TABLES_DDL: ReadonlyArray<string>;
3
3
  /** The agent's temporary attachments, beside the blob tables whose storage they share. */
4
4
  export declare const ATTACHMENTS_TABLE = "_agent_attachments";
5
5
  /**
6
- * Where an attachment comes from: a chat message, or a file the agent produced in its sandbox and
7
- * stores so that an action can keep it.
6
+ * Where an attachment comes from: a chat message on a channel, or a file the agent produced in its
7
+ * sandbox and stores so that an action can keep it.
8
8
  */
9
- export declare const ATTACHMENT_SOURCES: readonly ["telegram", "sandbox"];
9
+ export declare const ATTACHMENT_SOURCES: readonly ["telegram", "slack", "sandbox"];
10
10
  /** The check that limits `source` to {@link ATTACHMENT_SOURCES}; its name is PostgreSQL's default. */
11
11
  export declare const ATTACHMENT_SOURCE_CHECK = "_agent_attachments_source_check";
12
12
  /**
@@ -56,10 +56,10 @@ export const BLOB_TABLES_DDL = [
56
56
  /** The agent's temporary attachments, beside the blob tables whose storage they share. */
57
57
  export const ATTACHMENTS_TABLE = "_agent_attachments";
58
58
  /**
59
- * Where an attachment comes from: a chat message, or a file the agent produced in its sandbox and
60
- * stores so that an action can keep it.
59
+ * Where an attachment comes from: a chat message on a channel, or a file the agent produced in its
60
+ * sandbox and stores so that an action can keep it.
61
61
  */
62
- export const ATTACHMENT_SOURCES = ["telegram", "sandbox"];
62
+ export const ATTACHMENT_SOURCES = ["telegram", "slack", "sandbox"];
63
63
  /** The check that limits `source` to {@link ATTACHMENT_SOURCES}; its name is PostgreSQL's default. */
64
64
  export const ATTACHMENT_SOURCE_CHECK = `${ATTACHMENTS_TABLE}_source_check`;
65
65
  const SOURCE_CHECK = `CHECK ("source" IN (${ATTACHMENT_SOURCES.map((source) => `'${source}'`).join(", ")}))`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentstream/ontology",
3
- "version": "0.93.0",
3
+ "version": "0.94.0",
4
4
  "description": "Define a SegmentStream workspace app's ontology: entities, relationships, roles and actions, written with Effect.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "SegmentStream",