@suss/adapter-python 0.7.1 → 0.8.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/index.cjs CHANGED
@@ -15747,7 +15747,7 @@ function date4(params) {
15747
15747
  // ../../../node_modules/zod/v4/classic/external.js
15748
15748
  config(en_default());
15749
15749
 
15750
- // ../../ir-core/dist/chunk-TEXSN75M.js
15750
+ // ../../ir-core/dist/chunk-WRRENYBR.js
15751
15751
  function gqlIdentityKey(typeName, fieldName) {
15752
15752
  return `gql:${typeName}.${fieldName}`;
15753
15753
  }
@@ -15897,7 +15897,10 @@ var MessageBusSemanticsSchema = external_exports.object({
15897
15897
  "eventbridge",
15898
15898
  "bullmq",
15899
15899
  "kafka",
15900
- "nats"
15900
+ "nats",
15901
+ "cloudflare-queues",
15902
+ "cloudflare-cron",
15903
+ "cloudflare-tail"
15901
15904
  ]),
15902
15905
  /**
15903
15906
  * Stable channel identifier: a CFN logical id, a queue or topic name,
@@ -16097,7 +16100,8 @@ var DeployableUnitSchema = external_exports.object({
16097
16100
  "lambda",
16098
16101
  "ecs-task",
16099
16102
  "container",
16100
- "k8s-deployment"
16103
+ "k8s-deployment",
16104
+ "worker"
16101
16105
  ]),
16102
16106
  // An empty name would agree with every other empty name, so a unit
16103
16107
  // with no name has to leave the field off instead.
@@ -16501,6 +16505,18 @@ var RESOLUTION_RULES = [
16501
16505
  (0, import_datalog.lit)("call", (0, import_datalog.variable)("r"), (0, import_datalog.variable)("c"))
16502
16506
  ]
16503
16507
  ),
16508
+ // The same, for a language whose adapter writes the import down as a
16509
+ // declaration and the call's callee as the name referring to it.
16510
+ (0, import_datalog.rule)(
16511
+ "callsFunction",
16512
+ [(0, import_datalog.variable)("r"), (0, import_datalog.variable)("f")],
16513
+ [
16514
+ (0, import_datalog.lit)("moduleExport", (0, import_datalog.variable)("m"), (0, import_datalog.variable)("n"), (0, import_datalog.variable)("f")),
16515
+ (0, import_datalog.lit)("imports", (0, import_datalog.variable)("d"), (0, import_datalog.variable)("m"), (0, import_datalog.variable)("n")),
16516
+ (0, import_datalog.lit)("binds", (0, import_datalog.variable)("c"), (0, import_datalog.variable)("d")),
16517
+ (0, import_datalog.lit)("call", (0, import_datalog.variable)("r"), (0, import_datalog.variable)("c"))
16518
+ ]
16519
+ ),
16504
16520
  // A function whose return is itself a call arrives at the same object
16505
16521
  // that call does, so a chain passing through two factories settles.
16506
16522
  (0, import_datalog.rule)(
package/dist/index.js CHANGED
@@ -15703,7 +15703,7 @@ function date4(params) {
15703
15703
  // ../../../node_modules/zod/v4/classic/external.js
15704
15704
  config(en_default());
15705
15705
 
15706
- // ../../ir-core/dist/chunk-TEXSN75M.js
15706
+ // ../../ir-core/dist/chunk-WRRENYBR.js
15707
15707
  function gqlIdentityKey(typeName, fieldName) {
15708
15708
  return `gql:${typeName}.${fieldName}`;
15709
15709
  }
@@ -15853,7 +15853,10 @@ var MessageBusSemanticsSchema = external_exports.object({
15853
15853
  "eventbridge",
15854
15854
  "bullmq",
15855
15855
  "kafka",
15856
- "nats"
15856
+ "nats",
15857
+ "cloudflare-queues",
15858
+ "cloudflare-cron",
15859
+ "cloudflare-tail"
15857
15860
  ]),
15858
15861
  /**
15859
15862
  * Stable channel identifier: a CFN logical id, a queue or topic name,
@@ -16053,7 +16056,8 @@ var DeployableUnitSchema = external_exports.object({
16053
16056
  "lambda",
16054
16057
  "ecs-task",
16055
16058
  "container",
16056
- "k8s-deployment"
16059
+ "k8s-deployment",
16060
+ "worker"
16057
16061
  ]),
16058
16062
  // An empty name would agree with every other empty name, so a unit
16059
16063
  // with no name has to leave the field off instead.
@@ -16457,6 +16461,18 @@ var RESOLUTION_RULES = [
16457
16461
  lit("call", v("r"), v("c"))
16458
16462
  ]
16459
16463
  ),
16464
+ // The same, for a language whose adapter writes the import down as a
16465
+ // declaration and the call's callee as the name referring to it.
16466
+ rule(
16467
+ "callsFunction",
16468
+ [v("r"), v("f")],
16469
+ [
16470
+ lit("moduleExport", v("m"), v("n"), v("f")),
16471
+ lit("imports", v("d"), v("m"), v("n")),
16472
+ lit("binds", v("c"), v("d")),
16473
+ lit("call", v("r"), v("c"))
16474
+ ]
16475
+ ),
16460
16476
  // A function whose return is itself a call arrives at the same object
16461
16477
  // that call does, so a chain passing through two factories settles.
16462
16478
  rule(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/adapter-python",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "description": "Python language adapter for suss — parses source with tree-sitter (WASM), resolves names with a lexical binder, and emits raw extractions for the suss pipeline.",
6
6
  "keywords": [
@@ -47,10 +47,10 @@
47
47
  "typecheck": "tsc --noEmit"
48
48
  },
49
49
  "dependencies": {
50
- "@suss/behavioral-ir": "0.7.1",
51
- "@suss/datalog": "0.7.1",
52
- "@suss/extractor": "0.7.1",
53
- "@suss/sql": "0.7.1",
50
+ "@suss/behavioral-ir": "0.8.0",
51
+ "@suss/datalog": "0.8.0",
52
+ "@suss/extractor": "0.8.0",
53
+ "@suss/sql": "0.8.0",
54
54
  "web-tree-sitter": "^0.26.11"
55
55
  },
56
56
  "devDependencies": {