@memberjunction/core-actions 6.3.0-edge.0 → 6.3.0-edge.2
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/README.md +13 -0
- package/dist/custom/ai/agent-channel.action.d.ts +29 -0
- package/dist/custom/ai/agent-channel.action.d.ts.map +1 -0
- package/dist/custom/ai/agent-channel.action.js +843 -0
- package/dist/custom/ai/agent-channel.action.js.map +1 -0
- package/dist/custom/ai/chief-of-staff-approval-helper.d.ts +16 -0
- package/dist/custom/ai/chief-of-staff-approval-helper.d.ts.map +1 -0
- package/dist/custom/ai/chief-of-staff-approval-helper.js +63 -0
- package/dist/custom/ai/chief-of-staff-approval-helper.js.map +1 -0
- package/dist/custom/ai/chief-of-staff-core-reads.action.d.ts +64 -0
- package/dist/custom/ai/chief-of-staff-core-reads.action.d.ts.map +1 -0
- package/dist/custom/ai/chief-of-staff-core-reads.action.js +1097 -0
- package/dist/custom/ai/chief-of-staff-core-reads.action.js.map +1 -0
- package/dist/custom/ai/chief-of-staff-rhythms-suggestions.action.d.ts +28 -0
- package/dist/custom/ai/chief-of-staff-rhythms-suggestions.action.d.ts.map +1 -0
- package/dist/custom/ai/chief-of-staff-rhythms-suggestions.action.js +817 -0
- package/dist/custom/ai/chief-of-staff-rhythms-suggestions.action.js.map +1 -0
- package/dist/custom/ai/configure-agent-user-policy.action.d.ts +1 -0
- package/dist/custom/ai/configure-agent-user-policy.action.d.ts.map +1 -1
- package/dist/custom/ai/configure-agent-user-policy.action.js +5 -1
- package/dist/custom/ai/configure-agent-user-policy.action.js.map +1 -1
- package/dist/custom/ai/manage-my-agent-instance.action.d.ts +39 -0
- package/dist/custom/ai/manage-my-agent-instance.action.d.ts.map +1 -0
- package/dist/custom/ai/manage-my-agent-instance.action.js +752 -0
- package/dist/custom/ai/manage-my-agent-instance.action.js.map +1 -0
- package/dist/custom/ai/prepare-outbound-call-brief.action.js +1 -1
- package/dist/custom/ai/prepare-outbound-call-brief.action.js.map +1 -1
- package/dist/custom/ai/schedule-next-agent-wake.action.d.ts +2 -0
- package/dist/custom/ai/schedule-next-agent-wake.action.d.ts.map +1 -1
- package/dist/custom/ai/schedule-next-agent-wake.action.js +105 -2
- package/dist/custom/ai/schedule-next-agent-wake.action.js.map +1 -1
- package/dist/custom/ai/send-inter-agent-request.action.d.ts +1 -0
- package/dist/custom/ai/send-inter-agent-request.action.d.ts.map +1 -1
- package/dist/custom/ai/send-inter-agent-request.action.js +72 -18
- package/dist/custom/ai/send-inter-agent-request.action.js.map +1 -1
- package/dist/custom/ai/test-runtime-action.action.d.ts.map +1 -1
- package/dist/custom/ai/test-runtime-action.action.js +6 -1
- package/dist/custom/ai/test-runtime-action.action.js.map +1 -1
- package/dist/custom/ai/trigger-agent-wake.action.d.ts +1 -0
- package/dist/custom/ai/trigger-agent-wake.action.d.ts.map +1 -1
- package/dist/custom/ai/trigger-agent-wake.action.js +3 -0
- package/dist/custom/ai/trigger-agent-wake.action.js.map +1 -1
- package/dist/custom/ai/user-scoped-communication.action.d.ts +20 -0
- package/dist/custom/ai/user-scoped-communication.action.d.ts.map +1 -1
- package/dist/custom/ai/user-scoped-communication.action.js +140 -23
- package/dist/custom/ai/user-scoped-communication.action.js.map +1 -1
- package/dist/custom/artifacts/base-governed-artifact.action.d.ts +30 -0
- package/dist/custom/artifacts/base-governed-artifact.action.d.ts.map +1 -0
- package/dist/custom/artifacts/base-governed-artifact.action.js +201 -0
- package/dist/custom/artifacts/base-governed-artifact.action.js.map +1 -0
- package/dist/custom/artifacts/create-governed-artifact.action.d.ts +11 -0
- package/dist/custom/artifacts/create-governed-artifact.action.d.ts.map +1 -0
- package/dist/custom/artifacts/create-governed-artifact.action.js +104 -0
- package/dist/custom/artifacts/create-governed-artifact.action.js.map +1 -0
- package/dist/custom/artifacts/index.d.ts +6 -0
- package/dist/custom/artifacts/index.d.ts.map +1 -0
- package/dist/custom/artifacts/index.js +6 -0
- package/dist/custom/artifacts/index.js.map +1 -0
- package/dist/custom/artifacts/inspect-governed-artifact.action.d.ts +11 -0
- package/dist/custom/artifacts/inspect-governed-artifact.action.d.ts.map +1 -0
- package/dist/custom/artifacts/inspect-governed-artifact.action.js +84 -0
- package/dist/custom/artifacts/inspect-governed-artifact.action.js.map +1 -0
- package/dist/custom/artifacts/list-workspace-artifacts.action.d.ts +11 -0
- package/dist/custom/artifacts/list-workspace-artifacts.action.d.ts.map +1 -0
- package/dist/custom/artifacts/list-workspace-artifacts.action.js +63 -0
- package/dist/custom/artifacts/list-workspace-artifacts.action.js.map +1 -0
- package/dist/custom/artifacts/mutate-governed-artifact.action.d.ts +12 -0
- package/dist/custom/artifacts/mutate-governed-artifact.action.d.ts.map +1 -0
- package/dist/custom/artifacts/mutate-governed-artifact.action.js +110 -0
- package/dist/custom/artifacts/mutate-governed-artifact.action.js.map +1 -0
- package/dist/custom/crud/agent-data-policy-guard.d.ts +9 -1
- package/dist/custom/crud/agent-data-policy-guard.d.ts.map +1 -1
- package/dist/custom/crud/agent-data-policy-guard.js +49 -16
- package/dist/custom/crud/agent-data-policy-guard.js.map +1 -1
- package/dist/custom/data/adhoc-sql-gate.d.ts +40 -0
- package/dist/custom/data/adhoc-sql-gate.d.ts.map +1 -0
- package/dist/custom/data/adhoc-sql-gate.js +102 -0
- package/dist/custom/data/adhoc-sql-gate.js.map +1 -0
- package/dist/custom/data/data-mapper.action.d.ts +8 -0
- package/dist/custom/data/data-mapper.action.d.ts.map +1 -1
- package/dist/custom/data/data-mapper.action.js +21 -3
- package/dist/custom/data/data-mapper.action.js.map +1 -1
- package/dist/custom/data/find-graph-path.action.d.ts +37 -0
- package/dist/custom/data/find-graph-path.action.d.ts.map +1 -0
- package/dist/custom/data/find-graph-path.action.js +114 -0
- package/dist/custom/data/find-graph-path.action.js.map +1 -0
- package/dist/custom/data/get-graph-context.action.d.ts +22 -12
- package/dist/custom/data/get-graph-context.action.d.ts.map +1 -1
- package/dist/custom/data/get-graph-context.action.js +102 -239
- package/dist/custom/data/get-graph-context.action.js.map +1 -1
- package/dist/custom/data/graph-action-params.d.ts +51 -0
- package/dist/custom/data/graph-action-params.d.ts.map +1 -0
- package/dist/custom/data/graph-action-params.js +164 -0
- package/dist/custom/data/graph-action-params.js.map +1 -0
- package/dist/custom/data/mapping-template-guard.d.ts +18 -0
- package/dist/custom/data/mapping-template-guard.d.ts.map +1 -0
- package/dist/custom/data/mapping-template-guard.js +106 -0
- package/dist/custom/data/mapping-template-guard.js.map +1 -0
- package/dist/custom/data/propose-canon-domains.action.d.ts +26 -0
- package/dist/custom/data/propose-canon-domains.action.d.ts.map +1 -0
- package/dist/custom/data/propose-canon-domains.action.js +105 -0
- package/dist/custom/data/propose-canon-domains.action.js.map +1 -0
- package/dist/custom/data/run-adhoc-query.action.d.ts +4 -21
- package/dist/custom/data/run-adhoc-query.action.d.ts.map +1 -1
- package/dist/custom/data/run-adhoc-query.action.js +15 -105
- package/dist/custom/data/run-adhoc-query.action.js.map +1 -1
- package/dist/custom/demo/text-analyzer.action.d.ts +8 -0
- package/dist/custom/demo/text-analyzer.action.d.ts.map +1 -1
- package/dist/custom/demo/text-analyzer.action.js +34 -2
- package/dist/custom/demo/text-analyzer.action.js.map +1 -1
- package/dist/custom/files/excel-reader.action.d.ts +14 -0
- package/dist/custom/files/excel-reader.action.d.ts.map +1 -1
- package/dist/custom/files/excel-reader.action.js +51 -6
- package/dist/custom/files/excel-reader.action.js.map +1 -1
- package/dist/custom/github/github-client.d.ts.map +1 -1
- package/dist/custom/github/github-client.js +72 -11
- package/dist/custom/github/github-client.js.map +1 -1
- package/dist/custom/integration/http-request.action.d.ts.map +1 -1
- package/dist/custom/integration/http-request.action.js +5 -1
- package/dist/custom/integration/http-request.action.js.map +1 -1
- package/dist/custom/lists/create-list-from-query.action.d.ts +39 -0
- package/dist/custom/lists/create-list-from-query.action.d.ts.map +1 -0
- package/dist/custom/lists/create-list-from-query.action.js +179 -0
- package/dist/custom/lists/create-list-from-query.action.js.map +1 -0
- package/dist/custom/lists/index.d.ts +2 -0
- package/dist/custom/lists/index.d.ts.map +1 -1
- package/dist/custom/lists/index.js +2 -0
- package/dist/custom/lists/index.js.map +1 -1
- package/dist/custom/lists/refresh-list-from-source.action.d.ts.map +1 -1
- package/dist/custom/lists/refresh-list-from-source.action.js +3 -2
- package/dist/custom/lists/refresh-list-from-source.action.js.map +1 -1
- package/dist/custom/search/scoped-search.action.d.ts +12 -1
- package/dist/custom/search/scoped-search.action.d.ts.map +1 -1
- package/dist/custom/search/scoped-search.action.js +44 -6
- package/dist/custom/search/scoped-search.action.js.map +1 -1
- package/dist/custom/search/search-query.util.d.ts +24 -0
- package/dist/custom/search/search-query.util.d.ts.map +1 -0
- package/dist/custom/search/search-query.util.js +211 -0
- package/dist/custom/search/search-query.util.js.map +1 -0
- package/dist/custom/search/search.action.js +2 -2
- package/dist/custom/search/search.action.js.map +1 -1
- package/dist/custom/user-management/validate-email-unique.action.d.ts.map +1 -1
- package/dist/custom/user-management/validate-email-unique.action.js +2 -3
- package/dist/custom/user-management/validate-email-unique.action.js.map +1 -1
- package/dist/custom/utilities/refresh-and-snapshot-artifact.action.d.ts +48 -0
- package/dist/custom/utilities/refresh-and-snapshot-artifact.action.d.ts.map +1 -0
- package/dist/custom/utilities/refresh-and-snapshot-artifact.action.js +248 -0
- package/dist/custom/utilities/refresh-and-snapshot-artifact.action.js.map +1 -0
- package/dist/custom/web/rss-feed-parsing.d.ts.map +1 -1
- package/dist/custom/web/rss-feed-parsing.js +80 -6
- package/dist/custom/web/rss-feed-parsing.js.map +1 -1
- package/dist/custom/web/url-link-validator.action.d.ts.map +1 -1
- package/dist/custom/web/url-link-validator.action.js +3 -1
- package/dist/custom/web/url-link-validator.action.js.map +1 -1
- package/dist/custom/web/web-content-transforms.d.ts +35 -0
- package/dist/custom/web/web-content-transforms.d.ts.map +1 -0
- package/dist/custom/web/web-content-transforms.js +157 -0
- package/dist/custom/web/web-content-transforms.js.map +1 -0
- package/dist/custom/web/web-page-content.action.d.ts +4 -20
- package/dist/custom/web/web-page-content.action.d.ts.map +1 -1
- package/dist/custom/web/web-page-content.action.js +23 -168
- package/dist/custom/web/web-page-content.action.js.map +1 -1
- package/dist/custom/web/worker/ServeWorkerRequests.d.ts +26 -0
- package/dist/custom/web/worker/ServeWorkerRequests.d.ts.map +1 -0
- package/dist/custom/web/worker/ServeWorkerRequests.js +33 -0
- package/dist/custom/web/worker/ServeWorkerRequests.js.map +1 -0
- package/dist/custom/web/worker/WebContentWorker.d.ts +9 -0
- package/dist/custom/web/worker/WebContentWorker.d.ts.map +1 -0
- package/dist/custom/web/worker/WebContentWorker.js +11 -0
- package/dist/custom/web/worker/WebContentWorker.js.map +1 -0
- package/dist/custom/web/worker/WebContentWorkerHandler.d.ts +11 -0
- package/dist/custom/web/worker/WebContentWorkerHandler.d.ts.map +1 -0
- package/dist/custom/web/worker/WebContentWorkerHandler.js +19 -0
- package/dist/custom/web/worker/WebContentWorkerHandler.js.map +1 -0
- package/dist/custom/web/worker/WebContentWorkerHost.d.ts +26 -0
- package/dist/custom/web/worker/WebContentWorkerHost.d.ts.map +1 -0
- package/dist/custom/web/worker/WebContentWorkerHost.js +37 -0
- package/dist/custom/web/worker/WebContentWorkerHost.js.map +1 -0
- package/dist/custom/web/worker/WebContentWorkerProtocol.d.ts +23 -0
- package/dist/custom/web/worker/WebContentWorkerProtocol.d.ts.map +1 -0
- package/dist/custom/web/worker/WebContentWorkerProtocol.js +8 -0
- package/dist/custom/web/worker/WebContentWorkerProtocol.js.map +1 -0
- package/dist/custom/web/worker/WorkerProtocol.d.ts +36 -0
- package/dist/custom/web/worker/WorkerProtocol.d.ts.map +1 -0
- package/dist/custom/web/worker/WorkerProtocol.js +9 -0
- package/dist/custom/web/worker/WorkerProtocol.js.map +1 -0
- package/dist/custom/web/worker/WorkerThreadHost.d.ts +88 -0
- package/dist/custom/web/worker/WorkerThreadHost.d.ts.map +1 -0
- package/dist/custom/web/worker/WorkerThreadHost.js +174 -0
- package/dist/custom/web/worker/WorkerThreadHost.js.map +1 -0
- package/dist/custom/workflow/loop.action.d.ts +8 -0
- package/dist/custom/workflow/loop.action.d.ts.map +1 -1
- package/dist/custom/workflow/loop.action.js +36 -4
- package/dist/custom/workflow/loop.action.js.map +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +45 -45
package/README.md
CHANGED
|
@@ -193,6 +193,8 @@ Actions used by the Chief of Staff agent (and other autonomous agents) to manage
|
|
|
193
193
|
|
|
194
194
|
The mailbox actions run through the enterprise provider's app-level credential (Microsoft Graph or Gmail) and the gate in `BaseUserScopedCommunicationAction`: the caller's email domain must match the provider's `AllowedEmailDomains`, the provider's `EnterpriseScopeMode` must allow personal mailboxes (otherwise the action falls back to the user's `MJ: AI Bridge Agent Identities` utility inbox), and the provider's mailbox-access preflight must succeed. The per-user OAuth service described below is a separate, not-yet-wired path to the same mailboxes.
|
|
195
195
|
|
|
196
|
+
The `Send` operation of `Manage My Email Inbox and Drafts` also checks its `To` address against Communications V2 endpoint status and suppressions, as a `Transactional` message: an address with a hard bounce, an invalid-address status or an erasure on record is refused with result code `COMPLIANCE_BLOCKED` before the provider is called. See the [Communications V2 Guide](../../../guides/COMMUNICATIONS_V2_GUIDE.md#10-v1-behavior-and-the-v1-bridge).
|
|
197
|
+
|
|
196
198
|
### Communication (3 actions)
|
|
197
199
|
|
|
198
200
|
Send messages via the MJ Communication Framework or webhook integrations.
|
|
@@ -588,6 +590,17 @@ const aggResult = await engine.RunAction({
|
|
|
588
590
|
});
|
|
589
591
|
```
|
|
590
592
|
|
|
593
|
+
### Governed Collaborative Artifacts (`src/custom/artifacts/`)
|
|
594
|
+
|
|
595
|
+
Unlike binary document export actions (`__CreateDocument` -> `MJ: Files` `.pdf`/`.docx`/`.xlsx`), the four governed artifact actions wrap `GovernedArtifactService` in `@memberjunction/ai-agents` to create, inspect, and live-mutate collaborative **`MJ: Artifacts`** (`Markdown Document`, `Presentation`, `Excel Spreadsheet`) with per-user ACL checks, live Yjs room hydration/commit hooks, and spoof-proof server awareness broadcasts:
|
|
596
|
+
|
|
597
|
+
| Action Name | `DriverClass` | Purpose |
|
|
598
|
+
|---|---|---|
|
|
599
|
+
| **Create Governed Artifact** | `__CreateGovernedArtifact` | Create a permission-checked Doc, Presentation, or Spreadsheet (optional initial `Content` / `SheetNames` / `CollectionID`) and persist Version 1. |
|
|
600
|
+
| **Inspect Governed Artifact** | `__InspectGovernedArtifact` | Inspect summary or execute read-only library tools (`get_outline`, `get_workbook_outline`, `read_deck`, `get_sheets`, `read_range`, `search_cells`), hydrating uncompacted edits from active Yjs rooms. |
|
|
601
|
+
| **Mutate Governed Artifact** | `__MutateGovernedArtifact` | Execute single (`Tool` + `Input`) or batched (`Operations`) mutations (`upsert_live_table`, `write_cells`, `format_range`, `add_sheet`, `upsert_chart`, `insert_block_after`, `replace_block`, `add_slide`, `upsert_slide_element`) through live Yjs sync + agent presence events. |
|
|
602
|
+
| **List Workspace Artifacts** | `__ListWorkspaceArtifacts` | List collaborative artifacts readable by `ContextUser` filtered by `CollectionID`, `TypeFilter`, or `Search`. |
|
|
603
|
+
|
|
591
604
|
## Action Execution Flow
|
|
592
605
|
|
|
593
606
|
The following diagram illustrates how an action invocation flows from caller through the engine to this package's registered classes.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ActionResultSimple, RunActionParams } from '@memberjunction/actions-base';
|
|
2
|
+
import { BaseAction } from '@memberjunction/actions';
|
|
3
|
+
/**
|
|
4
|
+
* Opens a shared, observable `AGENT_CHANNEL` conversation (`MJ: Agent Channels` IS-A
|
|
5
|
+
* `MJ: Conversations`) between the caller's agent and one or more colleagues' agents,
|
|
6
|
+
* enforcing `CoordinationMode` (`Observer` blocked, `Coordinator` requires approval when run
|
|
7
|
+
* autonomously, `Autonomous` allowed) and waking peer agents under loop-guard / rate-limit bounds.
|
|
8
|
+
*/
|
|
9
|
+
export declare class OpenAgentChannelAction extends BaseAction {
|
|
10
|
+
static readonly AuthorizesCaller = true;
|
|
11
|
+
protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Posts a reply into an existing `AGENT_CHANNEL` conversation, enforcing participant
|
|
15
|
+
* membership, loop-guard / hourly wake caps, and optional channel resolution.
|
|
16
|
+
*/
|
|
17
|
+
export declare class ReplyInAgentChannelAction extends BaseAction {
|
|
18
|
+
static readonly AuthorizesCaller = true;
|
|
19
|
+
protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Reads an `AGENT_CHANNEL` conversation (metadata, participants, guard counters, and messages)
|
|
23
|
+
* or lists the calling user's Agent Channels when `ChannelID` is omitted.
|
|
24
|
+
*/
|
|
25
|
+
export declare class GetAgentChannelAction extends BaseAction {
|
|
26
|
+
static readonly AuthorizesCaller = true;
|
|
27
|
+
protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=agent-channel.action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-channel.action.d.ts","sourceRoot":"","sources":["../../../src/custom/ai/agent-channel.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,kBAAkB,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAoMrD;;;;;GAKG;AACH,qBACa,sBAAuB,SAAQ,UAAU;IAClD,gBAAgC,gBAAgB,QAAQ;cAExC,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAmX1F;AAED;;;GAGG;AACH,qBACa,yBAA0B,SAAQ,UAAU;IACrD,gBAAgC,gBAAgB,QAAQ;cAExC,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAkL1F;AAED;;;GAGG;AACH,qBACa,qBAAsB,SAAQ,UAAU;IACjD,gBAAgC,gBAAgB,QAAQ;cAExC,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;CA0L1F"}
|