@x12i/pagenti-types 0.1.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.
- package/dist/constants.d.ts +56 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +92 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/models.d.ts +255 -0
- package/dist/models.d.ts.map +1 -0
- package/dist/models.js +2 -0
- package/dist/models.js.map +1 -0
- package/package.json +36 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/** Catalox app id for Pagenti. */
|
|
2
|
+
export declare const PAGENTI_APP_ID: "pagenti";
|
|
3
|
+
/** Knowledge category bucket item id. */
|
|
4
|
+
export declare const PAGENTI_CATEGORY_ID: "pagenti";
|
|
5
|
+
/** Manifest schema version. */
|
|
6
|
+
export declare const PAGENTI_MANIFEST_SCHEMA: "pagenti.package.v1";
|
|
7
|
+
/**
|
|
8
|
+
* Required Catalox npm package version. Pagenti uses Catalox as the sole data tier;
|
|
9
|
+
* there is no alternate registry, file store, or in-memory backend.
|
|
10
|
+
*/
|
|
11
|
+
export declare const CATALOX_VERSION: "5.1.0";
|
|
12
|
+
/** 12 context smart-property dimensions. */
|
|
13
|
+
export declare const CONTEXT_DIMENSIONS: readonly ["industry", "role", "domain", "useCase", "process", "tool", "risk", "regulation", "entityType", "contentType", "customerSegment", "maturityLevel"];
|
|
14
|
+
export type ContextDimension = (typeof CONTEXT_DIMENSIONS)[number];
|
|
15
|
+
/** Core content catalogs (17 + 6 package manager catalogs). */
|
|
16
|
+
export declare const CONTENT_CATALOGS: {
|
|
17
|
+
readonly KNOWLEDGE_CATEGORIES: "knowledge_categories";
|
|
18
|
+
readonly TARGET_SKILL: "pagenti_target_skill";
|
|
19
|
+
readonly SKILLS: "pagenti_skills";
|
|
20
|
+
readonly KNOWLEDGE: "pagenti_knowledge";
|
|
21
|
+
readonly EXECUTION: "pagenti_execution";
|
|
22
|
+
readonly TARGET_INDUSTRY: "pagenti_target_industry";
|
|
23
|
+
readonly TARGET_ROLE: "pagenti_target_role";
|
|
24
|
+
readonly TARGET_DOMAIN: "pagenti_target_domain";
|
|
25
|
+
readonly TARGET_USE_CASE: "pagenti_target_useCase";
|
|
26
|
+
readonly TARGET_PROCESS: "pagenti_target_process";
|
|
27
|
+
readonly TARGET_TOOL: "pagenti_target_tool";
|
|
28
|
+
readonly TARGET_RISK: "pagenti_target_risk";
|
|
29
|
+
readonly TARGET_REGULATION: "pagenti_target_regulation";
|
|
30
|
+
readonly TARGET_ENTITY_TYPE: "pagenti_target_entityType";
|
|
31
|
+
readonly TARGET_CONTENT_TYPE: "pagenti_target_contentType";
|
|
32
|
+
readonly TARGET_CUSTOMER_SEGMENT: "pagenti_target_customerSegment";
|
|
33
|
+
readonly TARGET_MATURITY_LEVEL: "pagenti_target_maturityLevel";
|
|
34
|
+
};
|
|
35
|
+
export declare const PACKAGE_CATALOGS: {
|
|
36
|
+
readonly PACKAGES: "pagenti_packages";
|
|
37
|
+
readonly VERSIONS: "pagenti_package_versions";
|
|
38
|
+
readonly FILES: "pagenti_package_files";
|
|
39
|
+
readonly EXPORTS: "pagenti_package_exports";
|
|
40
|
+
readonly DEPENDENCIES: "pagenti_package_dependencies";
|
|
41
|
+
readonly INSTALLED: "pagenti_installed_packages";
|
|
42
|
+
};
|
|
43
|
+
export declare const TARGET_CATALOG_BY_DIMENSION: Record<ContextDimension, string>;
|
|
44
|
+
/** 20 pre-seeded SME skill codes. */
|
|
45
|
+
export declare const SME_SKILL_CODES: readonly ["riskKnowledge", "domainKnowledge", "proceduralKnowledge", "diagnosticKnowledge", "regulatoryKnowledge", "complianceKnowledge", "technicalKnowledge", "operationalKnowledge", "strategicKnowledge", "analyticalKnowledge", "contextualKnowledge", "bestPracticeKnowledge", "referenceKnowledge", "conceptualKnowledge", "factualKnowledge", "experientialKnowledge", "troubleshootingKnowledge", "decisionKnowledge", "communicationKnowledge", "governanceKnowledge"];
|
|
46
|
+
export type SkillCode = (typeof SME_SKILL_CODES)[number];
|
|
47
|
+
export type PackageVisibility = "public" | "private" | "internal";
|
|
48
|
+
export type PackageStatus = "active" | "archived" | "draft";
|
|
49
|
+
export type VersionStatus = "published" | "draft" | "yanked";
|
|
50
|
+
export type InstallStatus = "active" | "inactive" | "pending";
|
|
51
|
+
export type DependencyType = "runtime" | "dev" | "peer" | "optional";
|
|
52
|
+
export type ExportType = "knowledge" | "execution" | "skill" | "schema" | "asset" | "collection";
|
|
53
|
+
export type FileRole = "manifest" | "knowledge" | "execution" | "schema" | "asset" | "readme" | "license" | "example";
|
|
54
|
+
export type GuidanceType = "criticalQuestion" | "warning" | "check" | "rule" | "tip";
|
|
55
|
+
export type GuidancePriority = "high" | "medium" | "low";
|
|
56
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,eAAO,MAAM,cAAc,EAAG,SAAkB,CAAC;AAEjD,yCAAyC;AACzC,eAAO,MAAM,mBAAmB,EAAG,SAAkB,CAAC;AAEtD,+BAA+B;AAC/B,eAAO,MAAM,uBAAuB,EAAG,oBAA6B,CAAC;AAErE;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAG,OAAgB,CAAC;AAEhD,4CAA4C;AAC5C,eAAO,MAAM,kBAAkB,8JAarB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnE,+DAA+D;AAC/D,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;CAkBnB,CAAC;AAEX,eAAO,MAAM,gBAAgB;;;;;;;CAOnB,CAAC;AAEX,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAaxE,CAAC;AAEF,qCAAqC;AACrC,eAAO,MAAM,eAAe,kdAqBlB,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AAClE,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAC5D,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC7D,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;AAC9D,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,CAAC;AACrE,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,CAAC;AACjG,MAAM,MAAM,QAAQ,GAChB,UAAU,GACV,WAAW,GACX,WAAW,GACX,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;AACd,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC;AACrF,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/** Catalox app id for Pagenti. */
|
|
2
|
+
export const PAGENTI_APP_ID = "pagenti";
|
|
3
|
+
/** Knowledge category bucket item id. */
|
|
4
|
+
export const PAGENTI_CATEGORY_ID = "pagenti";
|
|
5
|
+
/** Manifest schema version. */
|
|
6
|
+
export const PAGENTI_MANIFEST_SCHEMA = "pagenti.package.v1";
|
|
7
|
+
/**
|
|
8
|
+
* Required Catalox npm package version. Pagenti uses Catalox as the sole data tier;
|
|
9
|
+
* there is no alternate registry, file store, or in-memory backend.
|
|
10
|
+
*/
|
|
11
|
+
export const CATALOX_VERSION = "5.1.0";
|
|
12
|
+
/** 12 context smart-property dimensions. */
|
|
13
|
+
export const CONTEXT_DIMENSIONS = [
|
|
14
|
+
"industry",
|
|
15
|
+
"role",
|
|
16
|
+
"domain",
|
|
17
|
+
"useCase",
|
|
18
|
+
"process",
|
|
19
|
+
"tool",
|
|
20
|
+
"risk",
|
|
21
|
+
"regulation",
|
|
22
|
+
"entityType",
|
|
23
|
+
"contentType",
|
|
24
|
+
"customerSegment",
|
|
25
|
+
"maturityLevel",
|
|
26
|
+
];
|
|
27
|
+
/** Core content catalogs (17 + 6 package manager catalogs). */
|
|
28
|
+
export const CONTENT_CATALOGS = {
|
|
29
|
+
KNOWLEDGE_CATEGORIES: "knowledge_categories",
|
|
30
|
+
TARGET_SKILL: "pagenti_target_skill",
|
|
31
|
+
SKILLS: "pagenti_skills",
|
|
32
|
+
KNOWLEDGE: "pagenti_knowledge",
|
|
33
|
+
EXECUTION: "pagenti_execution",
|
|
34
|
+
TARGET_INDUSTRY: "pagenti_target_industry",
|
|
35
|
+
TARGET_ROLE: "pagenti_target_role",
|
|
36
|
+
TARGET_DOMAIN: "pagenti_target_domain",
|
|
37
|
+
TARGET_USE_CASE: "pagenti_target_useCase",
|
|
38
|
+
TARGET_PROCESS: "pagenti_target_process",
|
|
39
|
+
TARGET_TOOL: "pagenti_target_tool",
|
|
40
|
+
TARGET_RISK: "pagenti_target_risk",
|
|
41
|
+
TARGET_REGULATION: "pagenti_target_regulation",
|
|
42
|
+
TARGET_ENTITY_TYPE: "pagenti_target_entityType",
|
|
43
|
+
TARGET_CONTENT_TYPE: "pagenti_target_contentType",
|
|
44
|
+
TARGET_CUSTOMER_SEGMENT: "pagenti_target_customerSegment",
|
|
45
|
+
TARGET_MATURITY_LEVEL: "pagenti_target_maturityLevel",
|
|
46
|
+
};
|
|
47
|
+
export const PACKAGE_CATALOGS = {
|
|
48
|
+
PACKAGES: "pagenti_packages",
|
|
49
|
+
VERSIONS: "pagenti_package_versions",
|
|
50
|
+
FILES: "pagenti_package_files",
|
|
51
|
+
EXPORTS: "pagenti_package_exports",
|
|
52
|
+
DEPENDENCIES: "pagenti_package_dependencies",
|
|
53
|
+
INSTALLED: "pagenti_installed_packages",
|
|
54
|
+
};
|
|
55
|
+
export const TARGET_CATALOG_BY_DIMENSION = {
|
|
56
|
+
industry: CONTENT_CATALOGS.TARGET_INDUSTRY,
|
|
57
|
+
role: CONTENT_CATALOGS.TARGET_ROLE,
|
|
58
|
+
domain: CONTENT_CATALOGS.TARGET_DOMAIN,
|
|
59
|
+
useCase: CONTENT_CATALOGS.TARGET_USE_CASE,
|
|
60
|
+
process: CONTENT_CATALOGS.TARGET_PROCESS,
|
|
61
|
+
tool: CONTENT_CATALOGS.TARGET_TOOL,
|
|
62
|
+
risk: CONTENT_CATALOGS.TARGET_RISK,
|
|
63
|
+
regulation: CONTENT_CATALOGS.TARGET_REGULATION,
|
|
64
|
+
entityType: CONTENT_CATALOGS.TARGET_ENTITY_TYPE,
|
|
65
|
+
contentType: CONTENT_CATALOGS.TARGET_CONTENT_TYPE,
|
|
66
|
+
customerSegment: CONTENT_CATALOGS.TARGET_CUSTOMER_SEGMENT,
|
|
67
|
+
maturityLevel: CONTENT_CATALOGS.TARGET_MATURITY_LEVEL,
|
|
68
|
+
};
|
|
69
|
+
/** 20 pre-seeded SME skill codes. */
|
|
70
|
+
export const SME_SKILL_CODES = [
|
|
71
|
+
"riskKnowledge",
|
|
72
|
+
"domainKnowledge",
|
|
73
|
+
"proceduralKnowledge",
|
|
74
|
+
"diagnosticKnowledge",
|
|
75
|
+
"regulatoryKnowledge",
|
|
76
|
+
"complianceKnowledge",
|
|
77
|
+
"technicalKnowledge",
|
|
78
|
+
"operationalKnowledge",
|
|
79
|
+
"strategicKnowledge",
|
|
80
|
+
"analyticalKnowledge",
|
|
81
|
+
"contextualKnowledge",
|
|
82
|
+
"bestPracticeKnowledge",
|
|
83
|
+
"referenceKnowledge",
|
|
84
|
+
"conceptualKnowledge",
|
|
85
|
+
"factualKnowledge",
|
|
86
|
+
"experientialKnowledge",
|
|
87
|
+
"troubleshootingKnowledge",
|
|
88
|
+
"decisionKnowledge",
|
|
89
|
+
"communicationKnowledge",
|
|
90
|
+
"governanceKnowledge",
|
|
91
|
+
];
|
|
92
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,MAAM,CAAC,MAAM,cAAc,GAAG,SAAkB,CAAC;AAEjD,yCAAyC;AACzC,MAAM,CAAC,MAAM,mBAAmB,GAAG,SAAkB,CAAC;AAEtD,+BAA+B;AAC/B,MAAM,CAAC,MAAM,uBAAuB,GAAG,oBAA6B,CAAC;AAErE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,OAAgB,CAAC;AAEhD,4CAA4C;AAC5C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,UAAU;IACV,MAAM;IACN,QAAQ;IACR,SAAS;IACT,SAAS;IACT,MAAM;IACN,MAAM;IACN,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,iBAAiB;IACjB,eAAe;CACP,CAAC;AAIX,+DAA+D;AAC/D,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,oBAAoB,EAAE,sBAAsB;IAC5C,YAAY,EAAE,sBAAsB;IACpC,MAAM,EAAE,gBAAgB;IACxB,SAAS,EAAE,mBAAmB;IAC9B,SAAS,EAAE,mBAAmB;IAC9B,eAAe,EAAE,yBAAyB;IAC1C,WAAW,EAAE,qBAAqB;IAClC,aAAa,EAAE,uBAAuB;IACtC,eAAe,EAAE,wBAAwB;IACzC,cAAc,EAAE,wBAAwB;IACxC,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,qBAAqB;IAClC,iBAAiB,EAAE,2BAA2B;IAC9C,kBA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d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC"}
|
package/dist/models.d.ts
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import type { ContextDimension, DependencyType, ExportType, FileRole, GuidancePriority, GuidanceType, InstallStatus, PackageStatus, PackageVisibility, SkillCode, VersionStatus } from "./constants.js";
|
|
2
|
+
export type StringArray = string[];
|
|
3
|
+
export type ContextDimensions = Partial<Record<ContextDimension, StringArray>>;
|
|
4
|
+
export type PagentiScope = {
|
|
5
|
+
domains?: string[];
|
|
6
|
+
agents?: string[];
|
|
7
|
+
apps?: string[];
|
|
8
|
+
};
|
|
9
|
+
export type PagentiItemMetadata = {
|
|
10
|
+
packageName?: string;
|
|
11
|
+
packageVersion?: string;
|
|
12
|
+
sourcePath?: string;
|
|
13
|
+
contentHash?: string;
|
|
14
|
+
};
|
|
15
|
+
export type PagentiRelation = {
|
|
16
|
+
relationType: string;
|
|
17
|
+
toCatalogId: string;
|
|
18
|
+
toItemId: string;
|
|
19
|
+
};
|
|
20
|
+
export type PagentiGuidance = {
|
|
21
|
+
guidanceType: GuidanceType;
|
|
22
|
+
text: string;
|
|
23
|
+
priority?: GuidancePriority;
|
|
24
|
+
};
|
|
25
|
+
export type ManifestKnowledgeEntry = {
|
|
26
|
+
code: string;
|
|
27
|
+
title: string;
|
|
28
|
+
path: string;
|
|
29
|
+
skillCode: SkillCode | string;
|
|
30
|
+
summary: string;
|
|
31
|
+
guidance?: PagentiGuidance[];
|
|
32
|
+
exports?: string[];
|
|
33
|
+
scope?: PagentiScope;
|
|
34
|
+
} & ContextDimensions;
|
|
35
|
+
export type ManifestExecutionEntry = {
|
|
36
|
+
code: string;
|
|
37
|
+
title: string;
|
|
38
|
+
path: string;
|
|
39
|
+
skillCode: SkillCode | string;
|
|
40
|
+
instructions?: string;
|
|
41
|
+
prompt?: string;
|
|
42
|
+
rules?: string[];
|
|
43
|
+
scope?: PagentiScope;
|
|
44
|
+
} & ContextDimensions;
|
|
45
|
+
export type ManifestExportTarget = {
|
|
46
|
+
type: ExportType;
|
|
47
|
+
catalogId: string;
|
|
48
|
+
code: string;
|
|
49
|
+
skillCode?: string;
|
|
50
|
+
};
|
|
51
|
+
export type PagentiManifest = {
|
|
52
|
+
schemaVersion: typeof import("./constants.js").PAGENTI_MANIFEST_SCHEMA;
|
|
53
|
+
name: string;
|
|
54
|
+
version: string;
|
|
55
|
+
title: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
visibility?: PackageVisibility;
|
|
58
|
+
license?: string;
|
|
59
|
+
keywords?: string[];
|
|
60
|
+
dependencies?: Record<string, string>;
|
|
61
|
+
knowledge?: ManifestKnowledgeEntry[];
|
|
62
|
+
execution?: ManifestExecutionEntry[];
|
|
63
|
+
exports?: Record<string, ManifestExportTarget>;
|
|
64
|
+
};
|
|
65
|
+
export type PagentiKnowledgeItem = {
|
|
66
|
+
code: string;
|
|
67
|
+
title: string;
|
|
68
|
+
skillCode: string;
|
|
69
|
+
skill?: string;
|
|
70
|
+
summary: string;
|
|
71
|
+
body?: string;
|
|
72
|
+
guidance: PagentiGuidance[];
|
|
73
|
+
relations: PagentiRelation[];
|
|
74
|
+
scope?: PagentiScope;
|
|
75
|
+
metadata?: PagentiItemMetadata;
|
|
76
|
+
} & ContextDimensions;
|
|
77
|
+
export type PagentiExecutionItem = {
|
|
78
|
+
code: string;
|
|
79
|
+
title: string;
|
|
80
|
+
skillCode: string;
|
|
81
|
+
instructions?: string;
|
|
82
|
+
prompt?: string;
|
|
83
|
+
rules?: string[];
|
|
84
|
+
relations?: PagentiRelation[];
|
|
85
|
+
scope?: PagentiScope;
|
|
86
|
+
metadata?: PagentiItemMetadata;
|
|
87
|
+
} & ContextDimensions;
|
|
88
|
+
export type PagentiSkill = {
|
|
89
|
+
code: string;
|
|
90
|
+
title: string;
|
|
91
|
+
content: string;
|
|
92
|
+
meaning?: string;
|
|
93
|
+
example?: string;
|
|
94
|
+
ordinal?: number;
|
|
95
|
+
scope?: PagentiScope;
|
|
96
|
+
} & ContextDimensions;
|
|
97
|
+
export type PagentiTargetRow = {
|
|
98
|
+
code: string;
|
|
99
|
+
title: string;
|
|
100
|
+
metadata?: {
|
|
101
|
+
usageCount?: number;
|
|
102
|
+
firstUsedAt?: string;
|
|
103
|
+
lastUsedAt?: string;
|
|
104
|
+
};
|
|
105
|
+
scope?: PagentiScope;
|
|
106
|
+
};
|
|
107
|
+
export type PagentiPackage = {
|
|
108
|
+
packageName: string;
|
|
109
|
+
scope?: string;
|
|
110
|
+
name: string;
|
|
111
|
+
title: string;
|
|
112
|
+
description?: string;
|
|
113
|
+
visibility: PackageVisibility;
|
|
114
|
+
status: PackageStatus;
|
|
115
|
+
latestVersion?: string;
|
|
116
|
+
ownerAccountId?: string;
|
|
117
|
+
keywords?: string[];
|
|
118
|
+
};
|
|
119
|
+
export type PagentiPackageArtifact = {
|
|
120
|
+
type: "tarball";
|
|
121
|
+
storageProvider: "gcs" | "local" | "filesystem";
|
|
122
|
+
bucket?: string;
|
|
123
|
+
objectKey?: string;
|
|
124
|
+
localPath?: string;
|
|
125
|
+
sha256: string;
|
|
126
|
+
};
|
|
127
|
+
export type PagentiPackageVersion = {
|
|
128
|
+
packageName: string;
|
|
129
|
+
version: string;
|
|
130
|
+
versionKey: string;
|
|
131
|
+
status: VersionStatus;
|
|
132
|
+
visibility: PackageVisibility;
|
|
133
|
+
artifact: PagentiPackageArtifact;
|
|
134
|
+
contentSummary?: {
|
|
135
|
+
knowledgeCount: number;
|
|
136
|
+
executionCount: number;
|
|
137
|
+
fileCount: number;
|
|
138
|
+
dependencyCount: number;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
export type PagentiPackageFile = {
|
|
142
|
+
packageName: string;
|
|
143
|
+
version: string;
|
|
144
|
+
path: string;
|
|
145
|
+
fileType: string;
|
|
146
|
+
role: FileRole;
|
|
147
|
+
sha256: string;
|
|
148
|
+
linkedCatalogId?: string;
|
|
149
|
+
linkedItemId?: string;
|
|
150
|
+
};
|
|
151
|
+
export type PagentiPackageExport = {
|
|
152
|
+
packageName: string;
|
|
153
|
+
version: string;
|
|
154
|
+
exportPath: string;
|
|
155
|
+
exportType: ExportType;
|
|
156
|
+
target: {
|
|
157
|
+
catalogId: string;
|
|
158
|
+
itemId: string;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
export type PagentiPackageDependency = {
|
|
162
|
+
fromPackageName: string;
|
|
163
|
+
fromVersion: string;
|
|
164
|
+
toPackageName: string;
|
|
165
|
+
requestedRange: string;
|
|
166
|
+
resolvedVersion?: string;
|
|
167
|
+
dependencyType: DependencyType;
|
|
168
|
+
optional: boolean;
|
|
169
|
+
};
|
|
170
|
+
export type InstallTarget = {
|
|
171
|
+
storeId?: string;
|
|
172
|
+
appId?: string;
|
|
173
|
+
agentId?: string;
|
|
174
|
+
domainIds?: string[];
|
|
175
|
+
workspaceId?: string;
|
|
176
|
+
tenantId?: string;
|
|
177
|
+
};
|
|
178
|
+
export type PagentiInstalledPackage = {
|
|
179
|
+
target: InstallTarget;
|
|
180
|
+
packageName: string;
|
|
181
|
+
installedVersion: string;
|
|
182
|
+
status: InstallStatus;
|
|
183
|
+
installedBy?: string;
|
|
184
|
+
installedAt: string;
|
|
185
|
+
};
|
|
186
|
+
export type KnowledgeQuery = {
|
|
187
|
+
appId?: string;
|
|
188
|
+
agentId?: string;
|
|
189
|
+
domain?: string;
|
|
190
|
+
skillCode?: string;
|
|
191
|
+
} & Partial<Record<ContextDimension, string>>;
|
|
192
|
+
export type ExecutionQuery = KnowledgeQuery;
|
|
193
|
+
export type ValidationIssue = {
|
|
194
|
+
path: string;
|
|
195
|
+
message: string;
|
|
196
|
+
code?: string;
|
|
197
|
+
};
|
|
198
|
+
export type ValidationResult = {
|
|
199
|
+
valid: boolean;
|
|
200
|
+
issues: ValidationIssue[];
|
|
201
|
+
};
|
|
202
|
+
export type ParsedPackageName = {
|
|
203
|
+
packageName: string;
|
|
204
|
+
scope: string | null;
|
|
205
|
+
name: string;
|
|
206
|
+
};
|
|
207
|
+
export type PackResult = {
|
|
208
|
+
artifactPath: string;
|
|
209
|
+
sha256: string;
|
|
210
|
+
files: Array<{
|
|
211
|
+
path: string;
|
|
212
|
+
sha256: string;
|
|
213
|
+
role: FileRole;
|
|
214
|
+
}>;
|
|
215
|
+
};
|
|
216
|
+
export type PublishResult = {
|
|
217
|
+
packageName: string;
|
|
218
|
+
version: string;
|
|
219
|
+
versionKey: string;
|
|
220
|
+
artifact: PagentiPackageArtifact;
|
|
221
|
+
knowledgeCount: number;
|
|
222
|
+
executionCount: number;
|
|
223
|
+
};
|
|
224
|
+
export type InstallResult = {
|
|
225
|
+
packageName: string;
|
|
226
|
+
installedVersion: string;
|
|
227
|
+
target: InstallTarget;
|
|
228
|
+
};
|
|
229
|
+
export type ParsedPackageSpec = {
|
|
230
|
+
packageName: string;
|
|
231
|
+
fetchSpec: string;
|
|
232
|
+
version?: string;
|
|
233
|
+
range?: string;
|
|
234
|
+
tag?: string;
|
|
235
|
+
};
|
|
236
|
+
export type PagentiLockEntry = {
|
|
237
|
+
version: string;
|
|
238
|
+
resolved: string;
|
|
239
|
+
integrity?: string;
|
|
240
|
+
};
|
|
241
|
+
export type PagentiLockfile = {
|
|
242
|
+
lockfileVersion: 1;
|
|
243
|
+
name?: string;
|
|
244
|
+
version?: string;
|
|
245
|
+
dependencies: Record<string, PagentiLockEntry>;
|
|
246
|
+
};
|
|
247
|
+
export type PackageSearchResult = {
|
|
248
|
+
packageName: string;
|
|
249
|
+
title?: string;
|
|
250
|
+
description?: string;
|
|
251
|
+
latestVersion?: string;
|
|
252
|
+
keywords?: string[];
|
|
253
|
+
};
|
|
254
|
+
export type InstallTargetConfig = InstallTarget;
|
|
255
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,QAAQ,EACR,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,aAAa,EACd,MAAM,gBAAgB,CAAC;AAExB,MAAM,MAAM,WAAW,GAAG,MAAM,EAAE,CAAC;AAEnC,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,WAAW,CAAC,CAAC,CAAC;AAE/E,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,IA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;IACjC,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,CAAC,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC"}
|
package/dist/models.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":""}
|
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@x12i/pagenti-types",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "TypeScript types for Pagenti — knowledge, instructions, prompts, and execution packages",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/x12i/pagenti.git",
|
|
10
|
+
"directory": "packages/types"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=20"
|
|
17
|
+
},
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"main": "./dist/index.js",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"scripts": {
|
|
30
|
+
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
31
|
+
"build": "npm run clean && tsc -p tsconfig.json",
|
|
32
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
33
|
+
"test": "node --import tsx --test \"test/**/*.test.ts\"",
|
|
34
|
+
"prepublishOnly": "npm run build"
|
|
35
|
+
}
|
|
36
|
+
}
|