snow-flow 3.4.39 → 3.5.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/README.md +11 -9
- package/dist/index.d.ts +4 -0
- package/dist/index.js +10 -2
- package/dist/mcp/enhancements/smart-query-enhancement.d.ts +49 -0
- package/dist/mcp/enhancements/smart-query-enhancement.js +233 -0
- package/dist/mcp/servicenow-local-development-mcp.d.ts +48 -0
- package/dist/mcp/servicenow-local-development-mcp.js +570 -0
- package/dist/queen/queen-knowledge-base.d.ts +151 -0
- package/dist/queen/queen-knowledge-base.js +283 -0
- package/dist/queen/servicenow-queen.d.ts +2 -0
- package/dist/queen/servicenow-queen.js +91 -0
- package/dist/utils/artifact-local-sync.d.ts +115 -0
- package/dist/utils/artifact-local-sync.js +705 -0
- package/dist/utils/artifact-sync/artifact-registry.d.ts +66 -0
- package/dist/utils/artifact-sync/artifact-registry.js +450 -0
- package/dist/utils/artifact-sync/index.d.ts +33 -0
- package/dist/utils/artifact-sync/index.js +52 -0
- package/dist/utils/mcp-tool-registry.js +109 -0
- package/dist/utils/smart-field-fetcher.d.ts +68 -0
- package/dist/utils/smart-field-fetcher.js +395 -0
- package/package.json +2 -2
- package/website/.dockerignore +64 -0
- package/website/Dockerfile +36 -0
- package/website/README.md +40 -1
- package/website/cloudbuild.yaml +69 -0
- package/website/css/style.css +119 -1
- package/website/index.html +385 -39
- package/website/js/main.js +26 -1
- package/website/nginx.conf +116 -0
- package/website/service.yaml +61 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Snow-Flow Website - Cloud Run Service Configuration
|
|
2
|
+
apiVersion: serving.knative.dev/v1
|
|
3
|
+
kind: Service
|
|
4
|
+
metadata:
|
|
5
|
+
name: snow-flow-website
|
|
6
|
+
labels:
|
|
7
|
+
cloud.googleapis.com/location: europe-west1
|
|
8
|
+
run.googleapis.com/cpu-throttling: "true"
|
|
9
|
+
annotations:
|
|
10
|
+
run.googleapis.com/ingress: all
|
|
11
|
+
run.googleapis.com/execution-environment: gen2
|
|
12
|
+
spec:
|
|
13
|
+
template:
|
|
14
|
+
metadata:
|
|
15
|
+
labels:
|
|
16
|
+
run.googleapis.com/startupProbeType: Default
|
|
17
|
+
annotations:
|
|
18
|
+
autoscaling.knative.dev/maxScale: "10"
|
|
19
|
+
autoscaling.knative.dev/minScale: "1"
|
|
20
|
+
run.googleapis.com/cpu-throttling: "true"
|
|
21
|
+
run.googleapis.com/execution-environment: gen2
|
|
22
|
+
run.googleapis.com/startup-cpu-boost: "true"
|
|
23
|
+
spec:
|
|
24
|
+
containerConcurrency: 80
|
|
25
|
+
timeoutSeconds: 300
|
|
26
|
+
serviceAccountName: PROJECT_NUMBER-compute@developer.gserviceaccount.com
|
|
27
|
+
containers:
|
|
28
|
+
- image: gcr.io/PROJECT_ID/snow-flow-website:latest
|
|
29
|
+
ports:
|
|
30
|
+
- name: http1
|
|
31
|
+
containerPort: 80
|
|
32
|
+
env:
|
|
33
|
+
- name: NODE_ENV
|
|
34
|
+
value: production
|
|
35
|
+
- name: PORT
|
|
36
|
+
value: "80"
|
|
37
|
+
resources:
|
|
38
|
+
limits:
|
|
39
|
+
cpu: "1"
|
|
40
|
+
memory: 512Mi
|
|
41
|
+
startupProbe:
|
|
42
|
+
httpGet:
|
|
43
|
+
path: /health
|
|
44
|
+
port: 80
|
|
45
|
+
initialDelaySeconds: 0
|
|
46
|
+
timeoutSeconds: 1
|
|
47
|
+
periodSeconds: 3
|
|
48
|
+
successThreshold: 1
|
|
49
|
+
failureThreshold: 3
|
|
50
|
+
livenessProbe:
|
|
51
|
+
httpGet:
|
|
52
|
+
path: /health
|
|
53
|
+
port: 80
|
|
54
|
+
initialDelaySeconds: 30
|
|
55
|
+
timeoutSeconds: 1
|
|
56
|
+
periodSeconds: 10
|
|
57
|
+
successThreshold: 1
|
|
58
|
+
failureThreshold: 3
|
|
59
|
+
traffic:
|
|
60
|
+
- percent: 100
|
|
61
|
+
latestRevision: true
|