@owlmeans/viable-sdk 0.1.19-rc.0 → 0.1.19
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 +1 -1
- package/agent-meta/manifest.json +2 -2
- package/agent-meta/skills/viable-sdk/SKILL.md +123 -13
- package/build/api/collect/types.d.ts +12 -1
- package/build/api/collect/types.d.ts.map +1 -1
- package/build/api/collect.d.ts.map +1 -1
- package/build/api/collect.js +18 -1
- package/build/api/collect.js.map +1 -1
- package/build/api/consts.local.d.ts +2 -0
- package/build/api/consts.local.d.ts.map +1 -1
- package/build/api/consts.local.js +2 -0
- package/build/api/consts.local.js.map +1 -1
- package/build/api/remote.d.ts.map +1 -1
- package/build/api/remote.js +13 -0
- package/build/api/remote.js.map +1 -1
- package/build/context/index.d.ts.map +1 -1
- package/build/context/index.js +7 -3
- package/build/context/index.js.map +1 -1
- package/build/context/types.d.ts +7 -1
- package/build/context/types.d.ts.map +1 -1
- package/build/session/consts.local.d.ts +2 -0
- package/build/session/consts.local.d.ts.map +1 -1
- package/build/session/consts.local.js +2 -0
- package/build/session/consts.local.js.map +1 -1
- package/build/session/index.d.ts.map +1 -1
- package/build/session/index.js +18 -1
- package/build/session/index.js.map +1 -1
- package/build/session/types.d.ts +7 -0
- package/build/session/types.d.ts.map +1 -1
- package/build/tools/catalogue.d.ts.map +1 -1
- package/build/tools/catalogue.js +13 -2
- package/build/tools/catalogue.js.map +1 -1
- package/build/tools/consts.d.ts +9 -1
- package/build/tools/consts.d.ts.map +1 -1
- package/build/tools/consts.js +16 -0
- package/build/tools/consts.js.map +1 -1
- package/build/tools/consts.local.d.ts +1 -9
- package/build/tools/consts.local.d.ts.map +1 -1
- package/build/tools/consts.local.js +2 -16
- package/build/tools/consts.local.js.map +1 -1
- package/build/tools/index.d.ts +6 -0
- package/build/tools/index.d.ts.map +1 -1
- package/build/tools/index.js +4 -0
- package/build/tools/index.js.map +1 -1
- package/build/tools/instructions/types.d.ts +21 -0
- package/build/tools/instructions/types.d.ts.map +1 -0
- package/build/tools/instructions/types.js +2 -0
- package/build/tools/instructions/types.js.map +1 -0
- package/build/tools/instructions.d.ts +4 -0
- package/build/tools/instructions.d.ts.map +1 -0
- package/build/tools/instructions.js +143 -0
- package/build/tools/instructions.js.map +1 -0
- package/build/tools/mcp.d.ts +2 -6
- package/build/tools/mcp.d.ts.map +1 -1
- package/build/tools/mcp.js +36 -122
- package/build/tools/mcp.js.map +1 -1
- package/build/tools/platform.d.ts.map +1 -1
- package/build/tools/platform.js +13 -4
- package/build/tools/platform.js.map +1 -1
- package/build/tools/profile/consts.d.ts +8 -0
- package/build/tools/profile/consts.d.ts.map +1 -0
- package/build/tools/profile/consts.js +10 -0
- package/build/tools/profile/consts.js.map +1 -0
- package/build/tools/profile/listing/consts.local.d.ts +44 -0
- package/build/tools/profile/listing/consts.local.d.ts.map +1 -0
- package/build/tools/profile/listing/consts.local.js +612 -0
- package/build/tools/profile/listing/consts.local.js.map +1 -0
- package/build/tools/profile/listing/presentation.d.ts +12 -0
- package/build/tools/profile/listing/presentation.d.ts.map +1 -0
- package/build/tools/profile/listing/presentation.js +38 -0
- package/build/tools/profile/listing/presentation.js.map +1 -0
- package/build/tools/profile/listing/text.d.ts +13 -0
- package/build/tools/profile/listing/text.d.ts.map +1 -0
- package/build/tools/profile/listing/text.js +51 -0
- package/build/tools/profile/listing/text.js.map +1 -0
- package/build/tools/profile/listing/types.d.ts +18 -0
- package/build/tools/profile/listing/types.d.ts.map +1 -0
- package/build/tools/profile/listing/types.js +2 -0
- package/build/tools/profile/listing/types.js.map +1 -0
- package/build/tools/profile/listing.d.ts +18 -0
- package/build/tools/profile/listing.d.ts.map +1 -0
- package/build/tools/profile/listing.js +66 -0
- package/build/tools/profile/listing.js.map +1 -0
- package/build/tools/profile/presentation/platform/account.d.ts +4 -0
- package/build/tools/profile/presentation/platform/account.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/account.js +46 -0
- package/build/tools/profile/presentation/platform/account.js.map +1 -0
- package/build/tools/profile/presentation/platform/consts.d.ts +541 -0
- package/build/tools/profile/presentation/platform/consts.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/consts.js +335 -0
- package/build/tools/profile/presentation/platform/consts.js.map +1 -0
- package/build/tools/profile/presentation/platform/git.d.ts +4 -0
- package/build/tools/profile/presentation/platform/git.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/git.js +123 -0
- package/build/tools/profile/presentation/platform/git.js.map +1 -0
- package/build/tools/profile/presentation/platform/iam.d.ts +4 -0
- package/build/tools/profile/presentation/platform/iam.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/iam.js +202 -0
- package/build/tools/profile/presentation/platform/iam.js.map +1 -0
- package/build/tools/profile/presentation/platform/production.d.ts +4 -0
- package/build/tools/profile/presentation/platform/production.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/production.js +73 -0
- package/build/tools/profile/presentation/platform/production.js.map +1 -0
- package/build/tools/profile/presentation/platform/read.d.ts +4 -0
- package/build/tools/profile/presentation/platform/read.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/read.js +68 -0
- package/build/tools/profile/presentation/platform/read.js.map +1 -0
- package/build/tools/profile/presentation/platform/settings.d.ts +4 -0
- package/build/tools/profile/presentation/platform/settings.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/settings.js +48 -0
- package/build/tools/profile/presentation/platform/settings.js.map +1 -0
- package/build/tools/profile/presentation/platform/types.d.ts +174 -0
- package/build/tools/profile/presentation/platform/types.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/types.js +2 -0
- package/build/tools/profile/presentation/platform/types.js.map +1 -0
- package/build/tools/profile/presentation/platform/workspace.d.ts +4 -0
- package/build/tools/profile/presentation/platform/workspace.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform/workspace.js +37 -0
- package/build/tools/profile/presentation/platform/workspace.js.map +1 -0
- package/build/tools/profile/presentation/platform.d.ts +11 -0
- package/build/tools/profile/presentation/platform.d.ts.map +1 -0
- package/build/tools/profile/presentation/platform.js +64 -0
- package/build/tools/profile/presentation/platform.js.map +1 -0
- package/build/tools/profile/presentation/work/consts.d.ts +22 -0
- package/build/tools/profile/presentation/work/consts.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/consts.js +22 -0
- package/build/tools/profile/presentation/work/consts.js.map +1 -0
- package/build/tools/profile/presentation/work/presenters.d.ts +4 -0
- package/build/tools/profile/presentation/work/presenters.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/presenters.js +502 -0
- package/build/tools/profile/presentation/work/presenters.js.map +1 -0
- package/build/tools/profile/presentation/work/schemas.d.ts +496 -0
- package/build/tools/profile/presentation/work/schemas.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/schemas.js +358 -0
- package/build/tools/profile/presentation/work/schemas.js.map +1 -0
- package/build/tools/profile/presentation/work/shape.d.ts +4 -0
- package/build/tools/profile/presentation/work/shape.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/shape.js +35 -0
- package/build/tools/profile/presentation/work/shape.js.map +1 -0
- package/build/tools/profile/presentation/work/types.d.ts +109 -0
- package/build/tools/profile/presentation/work/types.d.ts.map +1 -0
- package/build/tools/profile/presentation/work/types.js +2 -0
- package/build/tools/profile/presentation/work/types.js.map +1 -0
- package/build/tools/profile/presentation/work.d.ts +13 -0
- package/build/tools/profile/presentation/work.d.ts.map +1 -0
- package/build/tools/profile/presentation/work.js +66 -0
- package/build/tools/profile/presentation/work.js.map +1 -0
- package/build/tools/profile/types.d.ts +125 -0
- package/build/tools/profile/types.d.ts.map +1 -0
- package/build/tools/profile/types.js +2 -0
- package/build/tools/profile/types.js.map +1 -0
- package/build/tools/profile.d.ts +9 -0
- package/build/tools/profile.d.ts.map +1 -0
- package/build/tools/profile.js +114 -0
- package/build/tools/profile.js.map +1 -0
- package/build/tools/status/types.d.ts +7 -1
- package/build/tools/status/types.d.ts.map +1 -1
- package/build/tools/status.d.ts.map +1 -1
- package/build/tools/status.js +5 -1
- package/build/tools/status.js.map +1 -1
- package/build/tools/types.d.ts +12 -1
- package/build/tools/types.d.ts.map +1 -1
- package/build/types.d.ts +7 -1
- package/build/types.d.ts.map +1 -1
- package/package.json +25 -25
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/tools/profile/presentation/platform/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAA;CAC5D;AAED,oGAAoG;AACpG,MAAM,WAAW,eAAe;IAC9B,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC9F;AAED,oGAAoG;AACpG,MAAM,WAAW,iBAAkB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAChE,MAAM,EAAE,MAAM,CAAA;IACd,kCAAkC;IAClC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,kFAAkF;IAClF,QAAQ,EAAE,MAAM,EAAE,CAAA;CACnB;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,4EAA4E;IAC5E,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACnD,qEAAqE;IACrE,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IAChE,0FAA0F;IAC1F,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAA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,CAAA;IACjB,sCAAsC;IACtC,KAAK,EAAE,SAAS,CAAA;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/tools/profile/presentation/platform/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../../../../src/tools/profile/presentation/platform/workspace.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAA;AAExD,eAAO,MAAM,4BAA4B,QAAO,sBAsC/C,CAAA;AAED,eAAO,MAAM,sBAAsB,wBAAiC,CAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { SOURCES_KIND } from '../../../consts.local.js';
|
|
2
|
+
import { presentReadHelper as read } from './read.js';
|
|
3
|
+
export const createWorkspacePresentHelper = () => {
|
|
4
|
+
const files = read.total((structured, args) => {
|
|
5
|
+
const paths = read.texts(structured.files);
|
|
6
|
+
return read.compact({
|
|
7
|
+
projectId: read.project(structured, args),
|
|
8
|
+
// The sources branch names no kind of its own: it is the default one.
|
|
9
|
+
kind: read.maybeText(structured.kind) ?? read.maybeText(args.kind) ?? SOURCES_KIND,
|
|
10
|
+
category: read.maybeText(structured.category),
|
|
11
|
+
total: read.count(structured.total, paths.length),
|
|
12
|
+
files: paths,
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
const file = read.total((structured, args) => ({
|
|
16
|
+
projectId: read.project(structured, args),
|
|
17
|
+
path: read.text(structured.path, read.text(args.path)),
|
|
18
|
+
length: read.count(structured.length),
|
|
19
|
+
truncated: read.flag(structured.truncated),
|
|
20
|
+
}));
|
|
21
|
+
const written = read.total((structured, args) => {
|
|
22
|
+
const buildWarning = read.warning(structured.buildWarning);
|
|
23
|
+
return read.compact({
|
|
24
|
+
projectId: read.project(structured, args),
|
|
25
|
+
path: read.text(structured.path, read.text(args.path)),
|
|
26
|
+
previewRebuilt: buildWarning == null,
|
|
27
|
+
buildWarning,
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
const preview = read.total((structured, args) => ({
|
|
31
|
+
projectId: read.project(structured, args),
|
|
32
|
+
preview: read.workload(structured.slot),
|
|
33
|
+
}));
|
|
34
|
+
return { files, file, written, preview };
|
|
35
|
+
};
|
|
36
|
+
export const workspacePresentHelper = createWorkspacePresentHelper();
|
|
37
|
+
//# sourceMappingURL=workspace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/tools/profile/presentation/platform/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACvD,OAAO,EAAE,iBAAiB,IAAI,IAAI,EAAE,MAAM,WAAW,CAAA;AAGrD,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAA2B,EAAE;IACvE,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,UAAU,EAAE,IAAI,EAAE,EAAE;QAC5C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QAE1C,OAAO,IAAI,CAAC,OAAO,CAAC;YAClB,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;YACzC,sEAAsE;YACtE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,YAAY;YAClF,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC;YACjD,KAAK,EAAE,KAAK;SACb,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;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EAAE,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,4BAA4B,EAAE,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ToolPresentation } from '../types.js';
|
|
2
|
+
/**
|
|
3
|
+
* The declared structured output and its presenter for every PLATFORM-domain tool of the listing
|
|
4
|
+
* profiles — settings, configuration, branding, the account, files and the preview, git and GitHub,
|
|
5
|
+
* production and the generated application's sign-in.
|
|
6
|
+
*
|
|
7
|
+
* Keyed by the BASE tool name: a split variant (`attach_custom_domain`, `invite_app_user`, …)
|
|
8
|
+
* inherits its base's entry, so each presenter here accepts the result of every action of its tool.
|
|
9
|
+
*/
|
|
10
|
+
export declare const platformPresentation: Readonly<Record<string, ToolPresentation>>;
|
|
11
|
+
//# sourceMappingURL=platform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../../../src/tools/profile/presentation/platform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAkBnD;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAoD1E,CAAA"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { accountPresentHelper as account } from './platform/account.js';
|
|
2
|
+
import { APP_GRANT_OUTPUT, APP_GRANTS_OUTPUT, APP_GROUP_OUTPUT, APP_GROUPS_OUTPUT, APP_ORGANIZATION_OUTPUT, APP_ORGANIZATIONS_OUTPUT, APP_PERMISSION_OUTPUT, APP_PERMISSIONS_OUTPUT, APP_USER_OUTPUT, APP_USERS_OUTPUT, BACKFILL_OUTPUT, CONFIGURATION_OUTPUT, CUSTOM_DOMAIN_OUTPUT, FILE_READ_OUTPUT, FILE_WRITTEN_OUTPUT, FILES_OUTPUT, GIT_COMMIT_OUTPUT, GIT_DISCARD_OUTPUT, GIT_HISTORY_OUTPUT, GIT_REVERT_OUTPUT, GIT_STATUS_OUTPUT, GITHUB_AUTHORIZE_OUTPUT, GITHUB_CONNECTION_OUTPUT, GITHUB_DISCONNECTED_OUTPUT, GITHUB_LINKED_OUTPUT, GITHUB_REPOSITORIES_OUTPUT, GITHUB_SYNC_OUTPUT, INTENT_OUTPUT, ORGANIZATION_BRANDING_OUTPUT, PREVIEW_OUTPUT, PRIVACY_OUTPUT, PRODUCTION_AUTH_OUTPUT, PRODUCTION_OUTPUT, REDIRECTS_OUTPUT, SETTINGS_OUTPUT, TOKEN_REVOKED_OUTPUT, TOKENS_OUTPUT, WITHDRAW_OUTPUT, } from './platform/consts.js';
|
|
3
|
+
import { gitPresentHelper as git } from './platform/git.js';
|
|
4
|
+
import { iamPresentHelper as iam } from './platform/iam.js';
|
|
5
|
+
import { productionPresentHelper as production } from './platform/production.js';
|
|
6
|
+
import { settingsPresentHelper as settings } from './platform/settings.js';
|
|
7
|
+
import { workspacePresentHelper as workspace } from './platform/workspace.js';
|
|
8
|
+
/**
|
|
9
|
+
* The declared structured output and its presenter for every PLATFORM-domain tool of the listing
|
|
10
|
+
* profiles — settings, configuration, branding, the account, files and the preview, git and GitHub,
|
|
11
|
+
* production and the generated application's sign-in.
|
|
12
|
+
*
|
|
13
|
+
* Keyed by the BASE tool name: a split variant (`attach_custom_domain`, `invite_app_user`, …)
|
|
14
|
+
* inherits its base's entry, so each presenter here accepts the result of every action of its tool.
|
|
15
|
+
*/
|
|
16
|
+
export const platformPresentation = Object.freeze({
|
|
17
|
+
project_settings: { output: SETTINGS_OUTPUT, present: settings.settings },
|
|
18
|
+
update_project_settings: { output: SETTINGS_OUTPUT, present: settings.settings },
|
|
19
|
+
set_platform_credit: { output: SETTINGS_OUTPUT, present: settings.settings },
|
|
20
|
+
project_configuration: { output: CONFIGURATION_OUTPUT, present: settings.configuration },
|
|
21
|
+
update_project_configuration: { output: CONFIGURATION_OUTPUT, present: settings.configuration },
|
|
22
|
+
recollect_configuration: { output: CONFIGURATION_OUTPUT, present: settings.configuration },
|
|
23
|
+
organization_branding: { output: ORGANIZATION_BRANDING_OUTPUT, present: settings.organization },
|
|
24
|
+
update_organization_branding: { output: ORGANIZATION_BRANDING_OUTPUT, present: settings.organization },
|
|
25
|
+
backfill_project_branding: { output: BACKFILL_OUTPUT, present: settings.backfill },
|
|
26
|
+
list_access_tokens: { output: TOKENS_OUTPUT, present: account.tokens },
|
|
27
|
+
revoke_access_token: { output: TOKEN_REVOKED_OUTPUT, present: account.revokedToken },
|
|
28
|
+
privacy_choices: { output: PRIVACY_OUTPUT, present: account.privacy },
|
|
29
|
+
withdraw_marketing_consent: { output: WITHDRAW_OUTPUT, present: account.withdrawn },
|
|
30
|
+
pickup_intent: { output: INTENT_OUTPUT, present: account.intent },
|
|
31
|
+
list_files: { output: FILES_OUTPUT, present: workspace.files },
|
|
32
|
+
read_file: { output: FILE_READ_OUTPUT, present: workspace.file },
|
|
33
|
+
write_file: { output: FILE_WRITTEN_OUTPUT, present: workspace.written },
|
|
34
|
+
delete_file: { output: FILE_WRITTEN_OUTPUT, present: workspace.written },
|
|
35
|
+
preview_control: { output: PREVIEW_OUTPUT, present: workspace.preview },
|
|
36
|
+
git_status: { output: GIT_STATUS_OUTPUT, present: git.status },
|
|
37
|
+
git_history: { output: GIT_HISTORY_OUTPUT, present: git.history },
|
|
38
|
+
git_commit: { output: GIT_COMMIT_OUTPUT, present: git.commit },
|
|
39
|
+
git_discard: { output: GIT_DISCARD_OUTPUT, present: git.discard },
|
|
40
|
+
git_revert: { output: GIT_REVERT_OUTPUT, present: git.revert },
|
|
41
|
+
connect_github: { output: GITHUB_AUTHORIZE_OUTPUT, present: git.authorize },
|
|
42
|
+
publish_to_github: { output: GITHUB_CONNECTION_OUTPUT, present: git.published },
|
|
43
|
+
github_sync: { output: GITHUB_SYNC_OUTPUT, present: git.sync },
|
|
44
|
+
disconnect_github: { output: GITHUB_DISCONNECTED_OUTPUT, present: git.disconnected },
|
|
45
|
+
github_repositories: { output: GITHUB_REPOSITORIES_OUTPUT, present: git.repositories },
|
|
46
|
+
link_github_origin: { output: GITHUB_LINKED_OUTPUT, present: git.linked },
|
|
47
|
+
production_status: { output: PRODUCTION_OUTPUT, present: production.status },
|
|
48
|
+
publish_production: { output: PRODUCTION_OUTPUT, present: production.status },
|
|
49
|
+
production_control: { output: PRODUCTION_OUTPUT, present: production.status },
|
|
50
|
+
custom_domain: { output: CUSTOM_DOMAIN_OUTPUT, present: production.domain },
|
|
51
|
+
production_auth: { output: PRODUCTION_AUTH_OUTPUT, present: production.auth },
|
|
52
|
+
set_production_redirects: { output: REDIRECTS_OUTPUT, present: production.redirects },
|
|
53
|
+
app_users: { output: APP_USERS_OUTPUT, present: iam.users },
|
|
54
|
+
manage_app_user: { output: APP_USER_OUTPUT, present: iam.user },
|
|
55
|
+
app_permissions: { output: APP_PERMISSIONS_OUTPUT, present: iam.permissions },
|
|
56
|
+
set_app_permission_default: { output: APP_PERMISSION_OUTPUT, present: iam.permission },
|
|
57
|
+
app_grants: { output: APP_GRANTS_OUTPUT, present: iam.grants },
|
|
58
|
+
manage_app_grant: { output: APP_GRANT_OUTPUT, present: iam.grant },
|
|
59
|
+
app_organizations: { output: APP_ORGANIZATIONS_OUTPUT, present: iam.organizations },
|
|
60
|
+
manage_app_organization: { output: APP_ORGANIZATION_OUTPUT, present: iam.organization },
|
|
61
|
+
app_groups: { output: APP_GROUPS_OUTPUT, present: iam.groups },
|
|
62
|
+
manage_app_group: { output: APP_GROUP_OUTPUT, present: iam.group },
|
|
63
|
+
});
|
|
64
|
+
//# sourceMappingURL=platform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../../../../src/tools/profile/presentation/platform.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,IAAI,OAAO,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,EACL,gBAAgB,EAA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IAC9D,gBAAgB,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,GAAG,CAAC,KAAK,EAAE;CACnE,CAAC,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The longest warning, error or build diagnostic a structured result carries. The text result keeps
|
|
3
|
+
* the whole of it; the structured one is what a host shows a person in a card.
|
|
4
|
+
*/
|
|
5
|
+
export declare const WARNING_CAP = 2000;
|
|
6
|
+
/** The longest story narrative, prompt or question context a structured result carries. */
|
|
7
|
+
export declare const NARRATIVE_CAP = 4000;
|
|
8
|
+
/** A frame line of a stack trace — never carried in a structured result. */
|
|
9
|
+
export declare const STACK_FRAME: RegExp;
|
|
10
|
+
/** The address a locally run application answers on, given its port. */
|
|
11
|
+
export declare const LOCAL_ORIGIN = "http://localhost:";
|
|
12
|
+
/**
|
|
13
|
+
* A batch story's state while it has no outcome: the one in progress (or, once the batch settled,
|
|
14
|
+
* the one it started and never finished), the ones still queued, and the ones it never reached.
|
|
15
|
+
*/
|
|
16
|
+
export declare const BATCH_STORY_PENDING: Readonly<{
|
|
17
|
+
current: "in-progress";
|
|
18
|
+
currentSettled: "started";
|
|
19
|
+
queued: "queued";
|
|
20
|
+
unreached: "not-started";
|
|
21
|
+
}>;
|
|
22
|
+
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../../src/tools/profile/presentation/work/consts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,WAAW,OAAQ,CAAA;AAEhC,2FAA2F;AAC3F,eAAO,MAAM,aAAa,OAAQ,CAAA;AAElC,4EAA4E;AAC5E,eAAO,MAAM,WAAW,QAAa,CAAA;AAErC,wEAAwE;AACxE,eAAO,MAAM,YAAY,sBAAsB,CAAA;AAE/C;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;EAK9B,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The longest warning, error or build diagnostic a structured result carries. The text result keeps
|
|
3
|
+
* the whole of it; the structured one is what a host shows a person in a card.
|
|
4
|
+
*/
|
|
5
|
+
export const WARNING_CAP = 2_000;
|
|
6
|
+
/** The longest story narrative, prompt or question context a structured result carries. */
|
|
7
|
+
export const NARRATIVE_CAP = 4_000;
|
|
8
|
+
/** A frame line of a stack trace — never carried in a structured result. */
|
|
9
|
+
export const STACK_FRAME = /^\s+at\s/;
|
|
10
|
+
/** The address a locally run application answers on, given its port. */
|
|
11
|
+
export const LOCAL_ORIGIN = 'http://localhost:';
|
|
12
|
+
/**
|
|
13
|
+
* A batch story's state while it has no outcome: the one in progress (or, once the batch settled,
|
|
14
|
+
* the one it started and never finished), the ones still queued, and the ones it never reached.
|
|
15
|
+
*/
|
|
16
|
+
export const BATCH_STORY_PENDING = Object.freeze({
|
|
17
|
+
current: 'in-progress',
|
|
18
|
+
currentSettled: 'started',
|
|
19
|
+
queued: 'queued',
|
|
20
|
+
unreached: 'not-started',
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=consts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../../src/tools/profile/presentation/work/consts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAA;AAEhC,2FAA2F;AAC3F,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,CAAA;AAElC,4EAA4E;AAC5E,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAA;AAErC,wEAAwE;AACxE,MAAM,CAAC,MAAM,YAAY,GAAG,mBAAmB,CAAA;AAE/C;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,aAAa;IACtB,cAAc,EAAE,SAAS;IACzB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,aAAa;CACzB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presenters.d.ts","sourceRoot":"","sources":["../../../../../src/tools/profile/presentation/work/presenters.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAa,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3D,eAAO,MAAM,oBAAoB,QAAO,cA0jBvC,CAAA;AAED,eAAO,MAAM,cAAc,gBAAyB,CAAA"}
|