neotoma 0.3.7 → 0.3.8
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/actions.d.ts.map +1 -1
- package/dist/actions.js +2 -2
- package/dist/actions.js.map +1 -1
- package/dist/cli/bootstrap.js +0 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +21 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/services/schema_registry.d.ts.map +1 -1
- package/dist/services/schema_registry.js +10 -7
- package/dist/services/schema_registry.js.map +1 -1
- package/dist/shared/api_client.d.ts +14 -1
- package/dist/shared/api_client.d.ts.map +1 -1
- package/dist/shared/openapi_file.d.ts +3 -0
- package/dist/shared/openapi_file.d.ts.map +1 -0
- package/dist/shared/openapi_file.js +26 -0
- package/dist/shared/openapi_file.js.map +1 -0
- package/dist/shared/openapi_schema.d.ts.map +1 -1
- package/dist/shared/openapi_schema.js +2 -4
- package/dist/shared/openapi_schema.js.map +1 -1
- package/openapi.yaml +2071 -0
- package/package.json +2 -1
package/dist/actions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../src/actions.ts"],"names":[],"mappings":"AA8EA,eAAO,MAAM,GAAG,6CAAY,CAAC;AA0vI7B,wBAAsB,eAAe;;;eAkCpC"}
|
package/dist/actions.js
CHANGED
|
@@ -27,6 +27,7 @@ import { isOauthKeyCredentialValid, normalizeOauthNextPath, OAuthKeySessionStore
|
|
|
27
27
|
import { AnalyzeSchemaCandidatesRequestSchema, CorrectEntityRequestSchema, CreateRelationshipRequestSchema, DeleteEntityRequestSchema, DeleteRelationshipRequestSchema, EntitiesQueryRequestSchema, EntitySnapshotRequestSchema, FieldProvenanceRequestSchema, GetSchemaRecommendationsRequestSchema, ListObservationsRequestSchema, ListRelationshipsRequestSchema, MergeEntitiesRequestSchema, ObservationsQueryRequestSchema, RegisterSchemaRequestSchema, RelationshipSnapshotRequestSchema, ReinterpretRequestSchema, InterpretUninterpretedRequestSchema, RestoreEntityRequestSchema, RestoreRelationshipRequestSchema, RetrieveEntityByIdentifierSchema, RetrieveGraphNeighborhoodSchema, RetrieveRelatedEntitiesSchema, StoreRequestSchema, StoreUnstructuredRequestSchema, UpdateSchemaIncrementalRequestSchema, } from "./shared/action_schemas.js";
|
|
28
28
|
import { queryEntitiesWithCount } from "./shared/action_handlers/entity_handlers.js";
|
|
29
29
|
import { prepareEntitySnapshotWithEmbedding, upsertEntitySnapshotWithEmbedding, } from "./services/entity_snapshot_embedding.js";
|
|
30
|
+
import { readOpenApiFile } from "./shared/openapi_file.js";
|
|
30
31
|
export const app = express();
|
|
31
32
|
// Trust proxy headers (required for express-rate-limit when X-Forwarded-For is present)
|
|
32
33
|
app.set("trust proxy", true);
|
|
@@ -3487,8 +3488,7 @@ app.post("/health_check_snapshots", async (req, res) => {
|
|
|
3487
3488
|
// Chat endpoint removed - violates Application Layer constraint "MUST NOT contain conversational logic"
|
|
3488
3489
|
// Conversational interactions should be externalized to MCP-compatible agents per architecture
|
|
3489
3490
|
app.get("/openapi.yaml", (req, res) => {
|
|
3490
|
-
const
|
|
3491
|
-
const openApiContent = fs.readFileSync(openApiPath, "utf-8");
|
|
3491
|
+
const openApiContent = readOpenApiFile();
|
|
3492
3492
|
const spec = yaml.load(openApiContent);
|
|
3493
3493
|
const baseUrl = (config.apiBase || "").replace(/\/$/, "");
|
|
3494
3494
|
if (spec.servers?.length && baseUrl) {
|