@ai-matrx/chat 0.7.7 → 0.7.9
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/CHANGELOG.md +12 -0
- package/dist/agents/components/chat/chat-quick-actions.config.d.ts +0 -8
- package/dist/agents/components/chat/chat-quick-actions.config.js +2 -1
- package/dist/agents/components/inputs/smart-input/InputActionButtons.d.ts +2 -2
- package/dist/agents/components/inputs/smart-input/InputActionButtons.js +3 -1
- package/dist/agents/components/inputs/smart-input/SmartAgentInputStacked.js +8 -3
- package/dist/agents/components/messages-display/AgentConversationDisplay.js +1 -1
- package/dist/agents/components/messages-display/assistant/AgentEmptyMessageDisplay.js +4 -4
- package/dist/agents/components/messages-display/assistant/AssistantMessageFooter.js +4 -2
- package/dist/agents/components/messages-display/assistant/AssistantNoAnswer.js +1 -1
- package/dist/agents/components/messages-display/assistant/BreathingOrb.js +1 -1
- package/dist/agents/components/messages-display/assistant/InPlaceAnswerEditor.js +1 -1
- package/dist/agents/components/messages-display/citations/MessageSourcesRow.js +1 -1
- package/dist/agents/components/messages-display/conversation-tools/ConversationFindBar.js +4 -4
- package/dist/agents/components/messages-display/message-options/EditHistoryDialog.js +7 -7
- package/dist/agents/components/messages-display/user/AgentUserMessage.js +4 -4
- package/dist/agents/components/messages-display/user/CollabNoteMessage.js +2 -2
- package/dist/agents/components/messages-display/user/FirstTurnVariables.js +3 -3
- package/dist/agents/components/messages-display/user/PendingSendMessage.js +4 -4
- package/dist/agents/components/messages-display/user/RemarksTranscriptView.js +7 -7
- package/dist/agents/components/messages-display/user/ResourceAttachmentTile.js +9 -9
- package/dist/agents/components/messages-display/user/ResourceEditableToggleSamples.js +4 -4
- package/dist/agents/components/messages-display/user/UserActionBar.js +3 -3
- package/dist/agents/components/messages-display/user/UserMessageAttachmentStyleComparison.js +12 -12
- package/dist/agents/components/messages-display/user/UserMessageChipsDemo.js +19 -19
- package/dist/agents/components/messages-display/user/UserMessageHybridTileSamples.js +22 -22
- package/dist/agents/components/run/AgentRunnerPage.js +4 -4
- package/dist/agents/components/run/AssistantError.js +1 -1
- package/dist/agents/components/run/AssistantWarning.js +1 -1
- package/dist/agents/components/run/GenerationJobCard.js +5 -5
- package/dist/agents/components/run/IncompleteNote.js +1 -1
- package/dist/agents/components/run/RunJobWorkingLine.js +1 -1
- package/dist/agents/components/shared/AgentConversationColumn.js +1 -1
- package/dist/agents/components/shared/AgentHeaderMobile.js +6 -6
- package/dist/agents/components/shared/AgentModeController.js +1 -1
- package/dist/agents/components/shared/AutoInjectionSwitch.js +6 -6
- package/dist/agents/components/shared/DesktopFilterPanel.js +8 -8
- package/dist/agents/components/shared/transcript-layout.d.ts +9 -8
- package/dist/agents/components/shared/transcript-layout.js +2 -2
- package/dist/agents/components/smart/AgentRunner.js +1 -1
- package/dist/agents/components/smart/CreateWithAiTabs.js +1 -1
- package/dist/cx-chat/components/agent/agents.d.ts +0 -5
- package/dist/cx-chat/components/agent/agents.js +4 -3
- package/dist/cx-chat/components/agent/local-agents.d.ts +0 -6
- package/dist/cx-chat/components/agent/local-agents.js +3 -2
- package/dist/host/request-headers.js +3 -1
- package/dist/surfaces/manifests/agent-builder.manifest.d.ts +8 -0
- package/dist/surfaces/manifests/agent-builder.manifest.js +62 -2
- package/dist/tool-call-visualization/components/ArtifactResultBar.js +4 -4
- package/dist/tool-call-visualization/components/ChatResultColumn.d.ts +1 -1
- package/dist/tool-call-visualization/components/ToolCallBatch.js +2 -2
- package/dist/tool-call-visualization/components/ToolCallVisualization.js +5 -5
- package/dist/tool-call-visualization/components/ToolTabBodies.js +12 -12
- package/dist/tool-call-visualization/components/ToolUpdatesOverlay.js +4 -4
- package/dist/tool-call-visualization/configured-rows/ConfiguredToolRow.js +8 -8
- package/dist/tool-call-visualization/configured-rows/CopyToolButton.js +1 -1
- package/dist/tool-call-visualization/configured-rows/ToolProgressView.js +7 -7
- package/dist/tool-call-visualization/configured-rows/field-components.js +6 -6
- package/dist/tool-call-visualization/registry/GenericRenderer.js +4 -4
- package/dist/tool-call-visualization/renderers/_shared-entity/EmptyResultCard.js +1 -1
- package/dist/tool-call-visualization/renderers/_shared-entity/EntityCard.js +5 -5
- package/dist/tool-call-visualization/renderers/_shared-entity/PartPeekPopover.js +2 -2
- package/dist/tool-call-visualization/renderers/_shared-entity/ToolGlyph.js +1 -1
- package/dist/tool-call-visualization/renderers/_shared-entity/ToolResultCard.js +6 -6
- package/dist/tool-call-visualization/renderers/agent-call/AgentCallInline.js +5 -5
- package/dist/tool-call-visualization/renderers/agent-call/CollabCallCard.js +4 -4
- package/dist/tool-call-visualization/renderers/agent-call/ImageGenerationResult.js +1 -1
- package/dist/tool-call-visualization/renderers/ask/AskInline.js +3 -3
- package/dist/tool-call-visualization/renderers/ask-person/AskPersonInline.js +2 -2
- package/dist/tool-call-visualization/renderers/cloud-browser/CloudBrowserRunCard.js +5 -5
- package/dist/tool-call-visualization/renderers/ctx/CtxBatchInline.js +3 -3
- package/dist/tool-call-visualization/renderers/ctx/CtxGetInline.js +2 -2
- package/dist/tool-call-visualization/renderers/ctx/CtxItemCard.js +3 -3
- package/dist/tool-call-visualization/renderers/ctx/CtxPatchInline.js +6 -6
- package/dist/tool-call-visualization/renderers/dictionary/DictEntryList.js +12 -12
- package/dist/tool-call-visualization/renderers/dictionary/DictionaryOverlay.js +5 -5
- package/dist/tool-call-visualization/renderers/fs/FsInline.js +7 -7
- package/dist/tool-call-visualization/renderers/news-api/NewsInline.js +17 -17
- package/dist/tool-call-visualization/renderers/news-api/NewsOverlay.js +12 -12
- package/dist/tool-call-visualization/renderers/random-wheel/RandomWheelInline.js +34 -34
- package/dist/tool-call-visualization/renderers/records/RecordsInline.js +1 -1
- package/dist/tool-call-visualization/renderers/research/ResearchInline.js +10 -10
- package/dist/tool-call-visualization/renderers/research/ResearchOverlay.js +19 -19
- package/dist/tool-call-visualization/renderers/research/SubagentReportBlock.js +11 -11
- package/dist/tool-call-visualization/renderers/scrape/ScrapeInline.js +18 -18
- package/dist/tool-call-visualization/renderers/scrape/ScrapeOverlay.js +17 -17
- package/dist/tool-call-visualization/renderers/search/SearchInline.js +30 -30
- package/dist/tool-call-visualization/renderers/search/SearchOverlay.js +40 -40
- package/dist/tool-call-visualization/renderers/shell/ShellInline.js +3 -3
- package/dist/tool-call-visualization/renderers/skill/SkillInline.js +5 -5
- package/dist/tool-call-visualization/renderers/sql/DbSchemaInline.js +7 -7
- package/dist/tool-call-visualization/renderers/sql/SqlInline.js +4 -4
- package/dist/tool-call-visualization/renderers/workbook/WorkbookGrid.js +4 -4
- package/dist/tool-call-visualization/renderers/workbook/WorkbookInline.js +2 -2
- package/dist/tool-call-visualization/renderers/workbook/WorkbookOverlay.js +7 -7
- package/dist/tool-call-visualization/renderers/working-document/PatchDiffInline.js +3 -3
- package/dist/tool-call-visualization/result-fields/EmptyResult.js +1 -1
- package/dist/tool-call-visualization/result-fields/KeyValueGrid.js +9 -9
- package/dist/tool-call-visualization/result-fields/ResultFile.js +4 -4
- package/dist/tool-call-visualization/result-fields/ResultJson.js +1 -1
- package/dist/tool-call-visualization/result-fields/ResultMedia.js +2 -2
- package/dist/tool-call-visualization/result-fields/ResultScalar.js +2 -2
- package/dist/tool-call-visualization/result-fields/ResultTable.js +10 -10
- package/dist/tool-call-visualization/result-fields/ResultValue.js +7 -7
- package/dist/tool-call-visualization/result-fields/ShortId.js +3 -3
- package/dist/tool-call-visualization/result-fields/ToolErrorCard.js +4 -4
- package/dist/tool-call-visualization/result-fields/UrlChips.js +3 -3
- package/dist/tool-call-visualization/surface-write/SurfaceWriteDiff.js +2 -2
- package/dist/tool-call-visualization/surface-write/SurfaceWriteStress.js +1 -1
- package/dist/tool-call-visualization/window-panel/ToolCallWindowPanel.js +9 -9
- package/dist/ui/mandates-storage/mandateStorage.d.ts +420 -0
- package/dist/ui/mandates-storage/shortcutStorage.d.ts +105 -0
- package/dist/ui/projectCreateAiDebug.d.ts +0 -5
- package/dist/ui/projectCreateAiDebug.js +2 -1
- package/package.json +23 -13
|
@@ -935,6 +935,87 @@ declare const definitionTable: (supabase: Client) => import("@supabase/supabase-
|
|
|
935
935
|
};
|
|
936
936
|
Relationships: [];
|
|
937
937
|
};
|
|
938
|
+
readiness_verdict: {
|
|
939
|
+
Row: {
|
|
940
|
+
checked_at: string;
|
|
941
|
+
created_at: string;
|
|
942
|
+
created_by: string | null;
|
|
943
|
+
deleted_at: string | null;
|
|
944
|
+
door: string | null;
|
|
945
|
+
id: string;
|
|
946
|
+
mandate_key: string;
|
|
947
|
+
metadata: Json;
|
|
948
|
+
missing: Json;
|
|
949
|
+
organization_id: string;
|
|
950
|
+
published_to_web: boolean;
|
|
951
|
+
published_to_web_at: string | null;
|
|
952
|
+
published_to_web_by: string | null;
|
|
953
|
+
ready: boolean;
|
|
954
|
+
refused_count: number;
|
|
955
|
+
required: Json;
|
|
956
|
+
scope: Json;
|
|
957
|
+
scope_key: string;
|
|
958
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
959
|
+
summary: string | null;
|
|
960
|
+
updated_at: string;
|
|
961
|
+
updated_by: string | null;
|
|
962
|
+
version: number;
|
|
963
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
964
|
+
};
|
|
965
|
+
Insert: {
|
|
966
|
+
checked_at?: string;
|
|
967
|
+
created_at?: string;
|
|
968
|
+
created_by?: string | null;
|
|
969
|
+
deleted_at?: string | null;
|
|
970
|
+
door?: string | null;
|
|
971
|
+
id?: string;
|
|
972
|
+
mandate_key: string;
|
|
973
|
+
metadata?: Json;
|
|
974
|
+
missing?: Json;
|
|
975
|
+
organization_id: string;
|
|
976
|
+
published_to_web?: boolean;
|
|
977
|
+
published_to_web_at?: string | null;
|
|
978
|
+
published_to_web_by?: string | null;
|
|
979
|
+
ready: boolean;
|
|
980
|
+
refused_count?: number;
|
|
981
|
+
required?: Json;
|
|
982
|
+
scope?: Json;
|
|
983
|
+
scope_key: string;
|
|
984
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
985
|
+
summary?: string | null;
|
|
986
|
+
updated_at?: string;
|
|
987
|
+
updated_by?: string | null;
|
|
988
|
+
version?: number;
|
|
989
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
990
|
+
};
|
|
991
|
+
Update: {
|
|
992
|
+
checked_at?: string;
|
|
993
|
+
created_at?: string;
|
|
994
|
+
created_by?: string | null;
|
|
995
|
+
deleted_at?: string | null;
|
|
996
|
+
door?: string | null;
|
|
997
|
+
id?: string;
|
|
998
|
+
mandate_key?: string;
|
|
999
|
+
metadata?: Json;
|
|
1000
|
+
missing?: Json;
|
|
1001
|
+
organization_id?: string;
|
|
1002
|
+
published_to_web?: boolean;
|
|
1003
|
+
published_to_web_at?: string | null;
|
|
1004
|
+
published_to_web_by?: string | null;
|
|
1005
|
+
ready?: boolean;
|
|
1006
|
+
refused_count?: number;
|
|
1007
|
+
required?: Json;
|
|
1008
|
+
scope?: Json;
|
|
1009
|
+
scope_key?: string;
|
|
1010
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
1011
|
+
summary?: string | null;
|
|
1012
|
+
updated_at?: string;
|
|
1013
|
+
updated_by?: string | null;
|
|
1014
|
+
version?: number;
|
|
1015
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
1016
|
+
};
|
|
1017
|
+
Relationships: [];
|
|
1018
|
+
};
|
|
938
1019
|
reference: {
|
|
939
1020
|
Row: {
|
|
940
1021
|
caller_identity_hash: string | null;
|
|
@@ -1825,6 +1906,12 @@ declare const definitionTable: (supabase: Client) => import("@supabase/supabase-
|
|
|
1825
1906
|
version_live: boolean;
|
|
1826
1907
|
}[];
|
|
1827
1908
|
};
|
|
1909
|
+
admin_run_counts: {
|
|
1910
|
+
Args: {
|
|
1911
|
+
p_since: string;
|
|
1912
|
+
};
|
|
1913
|
+
Returns: Json;
|
|
1914
|
+
};
|
|
1828
1915
|
binding_holder_runnable: {
|
|
1829
1916
|
Args: {
|
|
1830
1917
|
p_holder_id: string;
|
|
@@ -1904,6 +1991,24 @@ declare const definitionTable: (supabase: Client) => import("@supabase/supabase-
|
|
|
1904
1991
|
};
|
|
1905
1992
|
Returns: string[];
|
|
1906
1993
|
};
|
|
1994
|
+
record_readiness_verdict: {
|
|
1995
|
+
Args: {
|
|
1996
|
+
p_door: string;
|
|
1997
|
+
p_mandate_key: string;
|
|
1998
|
+
p_missing: Json;
|
|
1999
|
+
p_organization_id: string;
|
|
2000
|
+
p_ready: boolean;
|
|
2001
|
+
p_required: Json;
|
|
2002
|
+
p_scope: Json;
|
|
2003
|
+
p_scope_key: string;
|
|
2004
|
+
p_summary: string;
|
|
2005
|
+
};
|
|
2006
|
+
Returns: {
|
|
2007
|
+
id: string;
|
|
2008
|
+
ready: boolean;
|
|
2009
|
+
refused_count: number;
|
|
2010
|
+
}[];
|
|
2011
|
+
};
|
|
1907
2012
|
reference_head: {
|
|
1908
2013
|
Args: never;
|
|
1909
2014
|
Returns: {
|
|
@@ -3097,6 +3202,87 @@ declare const provisionTable: (supabase: Client) => import("@supabase/supabase-j
|
|
|
3097
3202
|
};
|
|
3098
3203
|
Relationships: [];
|
|
3099
3204
|
};
|
|
3205
|
+
readiness_verdict: {
|
|
3206
|
+
Row: {
|
|
3207
|
+
checked_at: string;
|
|
3208
|
+
created_at: string;
|
|
3209
|
+
created_by: string | null;
|
|
3210
|
+
deleted_at: string | null;
|
|
3211
|
+
door: string | null;
|
|
3212
|
+
id: string;
|
|
3213
|
+
mandate_key: string;
|
|
3214
|
+
metadata: Json;
|
|
3215
|
+
missing: Json;
|
|
3216
|
+
organization_id: string;
|
|
3217
|
+
published_to_web: boolean;
|
|
3218
|
+
published_to_web_at: string | null;
|
|
3219
|
+
published_to_web_by: string | null;
|
|
3220
|
+
ready: boolean;
|
|
3221
|
+
refused_count: number;
|
|
3222
|
+
required: Json;
|
|
3223
|
+
scope: Json;
|
|
3224
|
+
scope_key: string;
|
|
3225
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
3226
|
+
summary: string | null;
|
|
3227
|
+
updated_at: string;
|
|
3228
|
+
updated_by: string | null;
|
|
3229
|
+
version: number;
|
|
3230
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
3231
|
+
};
|
|
3232
|
+
Insert: {
|
|
3233
|
+
checked_at?: string;
|
|
3234
|
+
created_at?: string;
|
|
3235
|
+
created_by?: string | null;
|
|
3236
|
+
deleted_at?: string | null;
|
|
3237
|
+
door?: string | null;
|
|
3238
|
+
id?: string;
|
|
3239
|
+
mandate_key: string;
|
|
3240
|
+
metadata?: Json;
|
|
3241
|
+
missing?: Json;
|
|
3242
|
+
organization_id: string;
|
|
3243
|
+
published_to_web?: boolean;
|
|
3244
|
+
published_to_web_at?: string | null;
|
|
3245
|
+
published_to_web_by?: string | null;
|
|
3246
|
+
ready: boolean;
|
|
3247
|
+
refused_count?: number;
|
|
3248
|
+
required?: Json;
|
|
3249
|
+
scope?: Json;
|
|
3250
|
+
scope_key: string;
|
|
3251
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
3252
|
+
summary?: string | null;
|
|
3253
|
+
updated_at?: string;
|
|
3254
|
+
updated_by?: string | null;
|
|
3255
|
+
version?: number;
|
|
3256
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
3257
|
+
};
|
|
3258
|
+
Update: {
|
|
3259
|
+
checked_at?: string;
|
|
3260
|
+
created_at?: string;
|
|
3261
|
+
created_by?: string | null;
|
|
3262
|
+
deleted_at?: string | null;
|
|
3263
|
+
door?: string | null;
|
|
3264
|
+
id?: string;
|
|
3265
|
+
mandate_key?: string;
|
|
3266
|
+
metadata?: Json;
|
|
3267
|
+
missing?: Json;
|
|
3268
|
+
organization_id?: string;
|
|
3269
|
+
published_to_web?: boolean;
|
|
3270
|
+
published_to_web_at?: string | null;
|
|
3271
|
+
published_to_web_by?: string | null;
|
|
3272
|
+
ready?: boolean;
|
|
3273
|
+
refused_count?: number;
|
|
3274
|
+
required?: Json;
|
|
3275
|
+
scope?: Json;
|
|
3276
|
+
scope_key?: string;
|
|
3277
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
3278
|
+
summary?: string | null;
|
|
3279
|
+
updated_at?: string;
|
|
3280
|
+
updated_by?: string | null;
|
|
3281
|
+
version?: number;
|
|
3282
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
3283
|
+
};
|
|
3284
|
+
Relationships: [];
|
|
3285
|
+
};
|
|
3100
3286
|
reference: {
|
|
3101
3287
|
Row: {
|
|
3102
3288
|
caller_identity_hash: string | null;
|
|
@@ -3987,6 +4173,12 @@ declare const provisionTable: (supabase: Client) => import("@supabase/supabase-j
|
|
|
3987
4173
|
version_live: boolean;
|
|
3988
4174
|
}[];
|
|
3989
4175
|
};
|
|
4176
|
+
admin_run_counts: {
|
|
4177
|
+
Args: {
|
|
4178
|
+
p_since: string;
|
|
4179
|
+
};
|
|
4180
|
+
Returns: Json;
|
|
4181
|
+
};
|
|
3990
4182
|
binding_holder_runnable: {
|
|
3991
4183
|
Args: {
|
|
3992
4184
|
p_holder_id: string;
|
|
@@ -4066,6 +4258,24 @@ declare const provisionTable: (supabase: Client) => import("@supabase/supabase-j
|
|
|
4066
4258
|
};
|
|
4067
4259
|
Returns: string[];
|
|
4068
4260
|
};
|
|
4261
|
+
record_readiness_verdict: {
|
|
4262
|
+
Args: {
|
|
4263
|
+
p_door: string;
|
|
4264
|
+
p_mandate_key: string;
|
|
4265
|
+
p_missing: Json;
|
|
4266
|
+
p_organization_id: string;
|
|
4267
|
+
p_ready: boolean;
|
|
4268
|
+
p_required: Json;
|
|
4269
|
+
p_scope: Json;
|
|
4270
|
+
p_scope_key: string;
|
|
4271
|
+
p_summary: string;
|
|
4272
|
+
};
|
|
4273
|
+
Returns: {
|
|
4274
|
+
id: string;
|
|
4275
|
+
ready: boolean;
|
|
4276
|
+
refused_count: number;
|
|
4277
|
+
}[];
|
|
4278
|
+
};
|
|
4069
4279
|
reference_head: {
|
|
4070
4280
|
Args: never;
|
|
4071
4281
|
Returns: {
|
|
@@ -5154,6 +5364,87 @@ declare const bindingTable: (supabase: Client) => import("@supabase/supabase-js"
|
|
|
5154
5364
|
};
|
|
5155
5365
|
Relationships: [];
|
|
5156
5366
|
};
|
|
5367
|
+
readiness_verdict: {
|
|
5368
|
+
Row: {
|
|
5369
|
+
checked_at: string;
|
|
5370
|
+
created_at: string;
|
|
5371
|
+
created_by: string | null;
|
|
5372
|
+
deleted_at: string | null;
|
|
5373
|
+
door: string | null;
|
|
5374
|
+
id: string;
|
|
5375
|
+
mandate_key: string;
|
|
5376
|
+
metadata: Json;
|
|
5377
|
+
missing: Json;
|
|
5378
|
+
organization_id: string;
|
|
5379
|
+
published_to_web: boolean;
|
|
5380
|
+
published_to_web_at: string | null;
|
|
5381
|
+
published_to_web_by: string | null;
|
|
5382
|
+
ready: boolean;
|
|
5383
|
+
refused_count: number;
|
|
5384
|
+
required: Json;
|
|
5385
|
+
scope: Json;
|
|
5386
|
+
scope_key: string;
|
|
5387
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
5388
|
+
summary: string | null;
|
|
5389
|
+
updated_at: string;
|
|
5390
|
+
updated_by: string | null;
|
|
5391
|
+
version: number;
|
|
5392
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
5393
|
+
};
|
|
5394
|
+
Insert: {
|
|
5395
|
+
checked_at?: string;
|
|
5396
|
+
created_at?: string;
|
|
5397
|
+
created_by?: string | null;
|
|
5398
|
+
deleted_at?: string | null;
|
|
5399
|
+
door?: string | null;
|
|
5400
|
+
id?: string;
|
|
5401
|
+
mandate_key: string;
|
|
5402
|
+
metadata?: Json;
|
|
5403
|
+
missing?: Json;
|
|
5404
|
+
organization_id: string;
|
|
5405
|
+
published_to_web?: boolean;
|
|
5406
|
+
published_to_web_at?: string | null;
|
|
5407
|
+
published_to_web_by?: string | null;
|
|
5408
|
+
ready: boolean;
|
|
5409
|
+
refused_count?: number;
|
|
5410
|
+
required?: Json;
|
|
5411
|
+
scope?: Json;
|
|
5412
|
+
scope_key: string;
|
|
5413
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
5414
|
+
summary?: string | null;
|
|
5415
|
+
updated_at?: string;
|
|
5416
|
+
updated_by?: string | null;
|
|
5417
|
+
version?: number;
|
|
5418
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
5419
|
+
};
|
|
5420
|
+
Update: {
|
|
5421
|
+
checked_at?: string;
|
|
5422
|
+
created_at?: string;
|
|
5423
|
+
created_by?: string | null;
|
|
5424
|
+
deleted_at?: string | null;
|
|
5425
|
+
door?: string | null;
|
|
5426
|
+
id?: string;
|
|
5427
|
+
mandate_key?: string;
|
|
5428
|
+
metadata?: Json;
|
|
5429
|
+
missing?: Json;
|
|
5430
|
+
organization_id?: string;
|
|
5431
|
+
published_to_web?: boolean;
|
|
5432
|
+
published_to_web_at?: string | null;
|
|
5433
|
+
published_to_web_by?: string | null;
|
|
5434
|
+
ready?: boolean;
|
|
5435
|
+
refused_count?: number;
|
|
5436
|
+
required?: Json;
|
|
5437
|
+
scope?: Json;
|
|
5438
|
+
scope_key?: string;
|
|
5439
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
5440
|
+
summary?: string | null;
|
|
5441
|
+
updated_at?: string;
|
|
5442
|
+
updated_by?: string | null;
|
|
5443
|
+
version?: number;
|
|
5444
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
5445
|
+
};
|
|
5446
|
+
Relationships: [];
|
|
5447
|
+
};
|
|
5157
5448
|
reference: {
|
|
5158
5449
|
Row: {
|
|
5159
5450
|
caller_identity_hash: string | null;
|
|
@@ -6044,6 +6335,12 @@ declare const bindingTable: (supabase: Client) => import("@supabase/supabase-js"
|
|
|
6044
6335
|
version_live: boolean;
|
|
6045
6336
|
}[];
|
|
6046
6337
|
};
|
|
6338
|
+
admin_run_counts: {
|
|
6339
|
+
Args: {
|
|
6340
|
+
p_since: string;
|
|
6341
|
+
};
|
|
6342
|
+
Returns: Json;
|
|
6343
|
+
};
|
|
6047
6344
|
binding_holder_runnable: {
|
|
6048
6345
|
Args: {
|
|
6049
6346
|
p_holder_id: string;
|
|
@@ -6123,6 +6420,24 @@ declare const bindingTable: (supabase: Client) => import("@supabase/supabase-js"
|
|
|
6123
6420
|
};
|
|
6124
6421
|
Returns: string[];
|
|
6125
6422
|
};
|
|
6423
|
+
record_readiness_verdict: {
|
|
6424
|
+
Args: {
|
|
6425
|
+
p_door: string;
|
|
6426
|
+
p_mandate_key: string;
|
|
6427
|
+
p_missing: Json;
|
|
6428
|
+
p_organization_id: string;
|
|
6429
|
+
p_ready: boolean;
|
|
6430
|
+
p_required: Json;
|
|
6431
|
+
p_scope: Json;
|
|
6432
|
+
p_scope_key: string;
|
|
6433
|
+
p_summary: string;
|
|
6434
|
+
};
|
|
6435
|
+
Returns: {
|
|
6436
|
+
id: string;
|
|
6437
|
+
ready: boolean;
|
|
6438
|
+
refused_count: number;
|
|
6439
|
+
}[];
|
|
6440
|
+
};
|
|
6126
6441
|
reference_head: {
|
|
6127
6442
|
Args: never;
|
|
6128
6443
|
Returns: {
|
|
@@ -7259,6 +7574,87 @@ declare const treatmentTable: (supabase: Client) => import("@supabase/supabase-j
|
|
|
7259
7574
|
};
|
|
7260
7575
|
Relationships: [];
|
|
7261
7576
|
};
|
|
7577
|
+
readiness_verdict: {
|
|
7578
|
+
Row: {
|
|
7579
|
+
checked_at: string;
|
|
7580
|
+
created_at: string;
|
|
7581
|
+
created_by: string | null;
|
|
7582
|
+
deleted_at: string | null;
|
|
7583
|
+
door: string | null;
|
|
7584
|
+
id: string;
|
|
7585
|
+
mandate_key: string;
|
|
7586
|
+
metadata: Json;
|
|
7587
|
+
missing: Json;
|
|
7588
|
+
organization_id: string;
|
|
7589
|
+
published_to_web: boolean;
|
|
7590
|
+
published_to_web_at: string | null;
|
|
7591
|
+
published_to_web_by: string | null;
|
|
7592
|
+
ready: boolean;
|
|
7593
|
+
refused_count: number;
|
|
7594
|
+
required: Json;
|
|
7595
|
+
scope: Json;
|
|
7596
|
+
scope_key: string;
|
|
7597
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
7598
|
+
summary: string | null;
|
|
7599
|
+
updated_at: string;
|
|
7600
|
+
updated_by: string | null;
|
|
7601
|
+
version: number;
|
|
7602
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
7603
|
+
};
|
|
7604
|
+
Insert: {
|
|
7605
|
+
checked_at?: string;
|
|
7606
|
+
created_at?: string;
|
|
7607
|
+
created_by?: string | null;
|
|
7608
|
+
deleted_at?: string | null;
|
|
7609
|
+
door?: string | null;
|
|
7610
|
+
id?: string;
|
|
7611
|
+
mandate_key: string;
|
|
7612
|
+
metadata?: Json;
|
|
7613
|
+
missing?: Json;
|
|
7614
|
+
organization_id: string;
|
|
7615
|
+
published_to_web?: boolean;
|
|
7616
|
+
published_to_web_at?: string | null;
|
|
7617
|
+
published_to_web_by?: string | null;
|
|
7618
|
+
ready: boolean;
|
|
7619
|
+
refused_count?: number;
|
|
7620
|
+
required?: Json;
|
|
7621
|
+
scope?: Json;
|
|
7622
|
+
scope_key: string;
|
|
7623
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
7624
|
+
summary?: string | null;
|
|
7625
|
+
updated_at?: string;
|
|
7626
|
+
updated_by?: string | null;
|
|
7627
|
+
version?: number;
|
|
7628
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
7629
|
+
};
|
|
7630
|
+
Update: {
|
|
7631
|
+
checked_at?: string;
|
|
7632
|
+
created_at?: string;
|
|
7633
|
+
created_by?: string | null;
|
|
7634
|
+
deleted_at?: string | null;
|
|
7635
|
+
door?: string | null;
|
|
7636
|
+
id?: string;
|
|
7637
|
+
mandate_key?: string;
|
|
7638
|
+
metadata?: Json;
|
|
7639
|
+
missing?: Json;
|
|
7640
|
+
organization_id?: string;
|
|
7641
|
+
published_to_web?: boolean;
|
|
7642
|
+
published_to_web_at?: string | null;
|
|
7643
|
+
published_to_web_by?: string | null;
|
|
7644
|
+
ready?: boolean;
|
|
7645
|
+
refused_count?: number;
|
|
7646
|
+
required?: Json;
|
|
7647
|
+
scope?: Json;
|
|
7648
|
+
scope_key?: string;
|
|
7649
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
7650
|
+
summary?: string | null;
|
|
7651
|
+
updated_at?: string;
|
|
7652
|
+
updated_by?: string | null;
|
|
7653
|
+
version?: number;
|
|
7654
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
7655
|
+
};
|
|
7656
|
+
Relationships: [];
|
|
7657
|
+
};
|
|
7262
7658
|
reference: {
|
|
7263
7659
|
Row: {
|
|
7264
7660
|
caller_identity_hash: string | null;
|
|
@@ -8149,6 +8545,12 @@ declare const treatmentTable: (supabase: Client) => import("@supabase/supabase-j
|
|
|
8149
8545
|
version_live: boolean;
|
|
8150
8546
|
}[];
|
|
8151
8547
|
};
|
|
8548
|
+
admin_run_counts: {
|
|
8549
|
+
Args: {
|
|
8550
|
+
p_since: string;
|
|
8551
|
+
};
|
|
8552
|
+
Returns: Json;
|
|
8553
|
+
};
|
|
8152
8554
|
binding_holder_runnable: {
|
|
8153
8555
|
Args: {
|
|
8154
8556
|
p_holder_id: string;
|
|
@@ -8228,6 +8630,24 @@ declare const treatmentTable: (supabase: Client) => import("@supabase/supabase-j
|
|
|
8228
8630
|
};
|
|
8229
8631
|
Returns: string[];
|
|
8230
8632
|
};
|
|
8633
|
+
record_readiness_verdict: {
|
|
8634
|
+
Args: {
|
|
8635
|
+
p_door: string;
|
|
8636
|
+
p_mandate_key: string;
|
|
8637
|
+
p_missing: Json;
|
|
8638
|
+
p_organization_id: string;
|
|
8639
|
+
p_ready: boolean;
|
|
8640
|
+
p_required: Json;
|
|
8641
|
+
p_scope: Json;
|
|
8642
|
+
p_scope_key: string;
|
|
8643
|
+
p_summary: string;
|
|
8644
|
+
};
|
|
8645
|
+
Returns: {
|
|
8646
|
+
id: string;
|
|
8647
|
+
ready: boolean;
|
|
8648
|
+
refused_count: number;
|
|
8649
|
+
}[];
|
|
8650
|
+
};
|
|
8231
8651
|
reference_head: {
|
|
8232
8652
|
Args: never;
|
|
8233
8653
|
Returns: {
|
|
@@ -5165,6 +5165,87 @@ declare const mandateContextMenuView: (supabase: Client) => import("@supabase/su
|
|
|
5165
5165
|
};
|
|
5166
5166
|
Relationships: [];
|
|
5167
5167
|
};
|
|
5168
|
+
readiness_verdict: {
|
|
5169
|
+
Row: {
|
|
5170
|
+
checked_at: string;
|
|
5171
|
+
created_at: string;
|
|
5172
|
+
created_by: string | null;
|
|
5173
|
+
deleted_at: string | null;
|
|
5174
|
+
door: string | null;
|
|
5175
|
+
id: string;
|
|
5176
|
+
mandate_key: string;
|
|
5177
|
+
metadata: import("@ai-matrx/data/types").Json;
|
|
5178
|
+
missing: import("@ai-matrx/data/types").Json;
|
|
5179
|
+
organization_id: string;
|
|
5180
|
+
published_to_web: boolean;
|
|
5181
|
+
published_to_web_at: string | null;
|
|
5182
|
+
published_to_web_by: string | null;
|
|
5183
|
+
ready: boolean;
|
|
5184
|
+
refused_count: number;
|
|
5185
|
+
required: import("@ai-matrx/data/types").Json;
|
|
5186
|
+
scope: import("@ai-matrx/data/types").Json;
|
|
5187
|
+
scope_key: string;
|
|
5188
|
+
shown_to: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
5189
|
+
summary: string | null;
|
|
5190
|
+
updated_at: string;
|
|
5191
|
+
updated_by: string | null;
|
|
5192
|
+
version: number;
|
|
5193
|
+
visibility: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
5194
|
+
};
|
|
5195
|
+
Insert: {
|
|
5196
|
+
checked_at?: string;
|
|
5197
|
+
created_at?: string;
|
|
5198
|
+
created_by?: string | null;
|
|
5199
|
+
deleted_at?: string | null;
|
|
5200
|
+
door?: string | null;
|
|
5201
|
+
id?: string;
|
|
5202
|
+
mandate_key: string;
|
|
5203
|
+
metadata?: import("@ai-matrx/data/types").Json;
|
|
5204
|
+
missing?: import("@ai-matrx/data/types").Json;
|
|
5205
|
+
organization_id: string;
|
|
5206
|
+
published_to_web?: boolean;
|
|
5207
|
+
published_to_web_at?: string | null;
|
|
5208
|
+
published_to_web_by?: string | null;
|
|
5209
|
+
ready: boolean;
|
|
5210
|
+
refused_count?: number;
|
|
5211
|
+
required?: import("@ai-matrx/data/types").Json;
|
|
5212
|
+
scope?: import("@ai-matrx/data/types").Json;
|
|
5213
|
+
scope_key: string;
|
|
5214
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
5215
|
+
summary?: string | null;
|
|
5216
|
+
updated_at?: string;
|
|
5217
|
+
updated_by?: string | null;
|
|
5218
|
+
version?: number;
|
|
5219
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
5220
|
+
};
|
|
5221
|
+
Update: {
|
|
5222
|
+
checked_at?: string;
|
|
5223
|
+
created_at?: string;
|
|
5224
|
+
created_by?: string | null;
|
|
5225
|
+
deleted_at?: string | null;
|
|
5226
|
+
door?: string | null;
|
|
5227
|
+
id?: string;
|
|
5228
|
+
mandate_key?: string;
|
|
5229
|
+
metadata?: import("@ai-matrx/data/types").Json;
|
|
5230
|
+
missing?: import("@ai-matrx/data/types").Json;
|
|
5231
|
+
organization_id?: string;
|
|
5232
|
+
published_to_web?: boolean;
|
|
5233
|
+
published_to_web_at?: string | null;
|
|
5234
|
+
published_to_web_by?: string | null;
|
|
5235
|
+
ready?: boolean;
|
|
5236
|
+
refused_count?: number;
|
|
5237
|
+
required?: import("@ai-matrx/data/types").Json;
|
|
5238
|
+
scope?: import("@ai-matrx/data/types").Json;
|
|
5239
|
+
scope_key?: string;
|
|
5240
|
+
shown_to?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["shown_to"] | null;
|
|
5241
|
+
summary?: string | null;
|
|
5242
|
+
updated_at?: string;
|
|
5243
|
+
updated_by?: string | null;
|
|
5244
|
+
version?: number;
|
|
5245
|
+
visibility?: import("@ai-matrx/data/types").Database["platform"]["Enums"]["visibility"];
|
|
5246
|
+
};
|
|
5247
|
+
Relationships: [];
|
|
5248
|
+
};
|
|
5168
5249
|
reference: {
|
|
5169
5250
|
Row: {
|
|
5170
5251
|
caller_identity_hash: string | null;
|
|
@@ -6055,6 +6136,12 @@ declare const mandateContextMenuView: (supabase: Client) => import("@supabase/su
|
|
|
6055
6136
|
version_live: boolean;
|
|
6056
6137
|
}[];
|
|
6057
6138
|
};
|
|
6139
|
+
admin_run_counts: {
|
|
6140
|
+
Args: {
|
|
6141
|
+
p_since: string;
|
|
6142
|
+
};
|
|
6143
|
+
Returns: import("@ai-matrx/data/types").Json;
|
|
6144
|
+
};
|
|
6058
6145
|
binding_holder_runnable: {
|
|
6059
6146
|
Args: {
|
|
6060
6147
|
p_holder_id: string;
|
|
@@ -6134,6 +6221,24 @@ declare const mandateContextMenuView: (supabase: Client) => import("@supabase/su
|
|
|
6134
6221
|
};
|
|
6135
6222
|
Returns: string[];
|
|
6136
6223
|
};
|
|
6224
|
+
record_readiness_verdict: {
|
|
6225
|
+
Args: {
|
|
6226
|
+
p_door: string;
|
|
6227
|
+
p_mandate_key: string;
|
|
6228
|
+
p_missing: import("@ai-matrx/data/types").Json;
|
|
6229
|
+
p_organization_id: string;
|
|
6230
|
+
p_ready: boolean;
|
|
6231
|
+
p_required: import("@ai-matrx/data/types").Json;
|
|
6232
|
+
p_scope: import("@ai-matrx/data/types").Json;
|
|
6233
|
+
p_scope_key: string;
|
|
6234
|
+
p_summary: string;
|
|
6235
|
+
};
|
|
6236
|
+
Returns: {
|
|
6237
|
+
id: string;
|
|
6238
|
+
ready: boolean;
|
|
6239
|
+
refused_count: number;
|
|
6240
|
+
}[];
|
|
6241
|
+
};
|
|
6137
6242
|
reference_head: {
|
|
6138
6243
|
Args: never;
|
|
6139
6244
|
Returns: {
|
|
@@ -11,11 +11,6 @@ import type { SourceFeature } from "../agents/types/instance.types.js";
|
|
|
11
11
|
* user's own binding).
|
|
12
12
|
*/
|
|
13
13
|
export declare const PROJECT_CREATE_MANDATE_KEY: "projects.creation_guide";
|
|
14
|
-
/**
|
|
15
|
-
* SEED MIRROR of the mandate's system default — kept only so
|
|
16
|
-
* `isProjectCreateFlow` can still recognize legacy launches by agent id;
|
|
17
|
-
* flow detection primarily keys on `sourceFeature`. Never mount this id.
|
|
18
|
-
*/
|
|
19
14
|
export declare const PROJECT_CREATE_AGENT_ID = "917074a0-fc06-4ff4-9805-4a517e04d08b";
|
|
20
15
|
export declare const PROJECT_CREATE_SOURCE_FEATURE: SourceFeature;
|
|
21
16
|
export declare function isProjectCreateFlow(sourceFeature: SourceFeature | undefined, agentId?: string | null): boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { MANDATE_KEYS } from "@ai-matrx/agents/mandates";
|
|
2
2
|
const PROJECT_CREATE_MANDATE_KEY = MANDATE_KEYS.projects__creation_guide;
|
|
3
|
-
const
|
|
3
|
+
const PROJECT_CREATE_SEED_AGENT_ID = "917074a0-fc06-4ff4-9805-4a517e04d08b";
|
|
4
|
+
const PROJECT_CREATE_AGENT_ID = PROJECT_CREATE_SEED_AGENT_ID;
|
|
4
5
|
const PROJECT_CREATE_SOURCE_FEATURE = "projects";
|
|
5
6
|
const LOG_PREFIX = "[ProjectCreate\xB7AI]";
|
|
6
7
|
function isProjectCreateFlow(sourceFeature, agentId) {
|